#5E59CD

A color in the Violet family

#5e59cd is a color in the Violet family: RGB(94, 89, 205), HSL(243°, 54%, 58%), CMYK(54%, 57%, 0%, 20%). Closest named color: slateblue. Contrast is 5.55:1 on white and 3.79:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5e59cd
RGBrgb(94 89 205)
RGB (legacy)rgb(94, 89, 205)
RGB %rgb(37% 35% 80%)
HSLhsl(243 54% 58%)
HSV / HSBhsv(243, 57%, 80%)
HWBhwb(243 35% 20%)
CMYKcmyk(54%, 57%, 0%, 20%)
CIELAB (D50)lab(43.29 27.32 -60.84)
LCHlch(43.29 66.7 294.18)
OKLaboklab(0.5323 0.0321 -0.1712)
OKLCHoklch(0.5323 0.1742 280.62)
Decimal6183373

Properties

Color ToneViolet
Closest named colorslateblue ΔE 1.9
Closest web-safe color#6666cc
Hue243°
Saturation (HSL / HSV)54% / 57%
Lightness (HSL)58%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)41% / 39%
Relative luminance (WCAG)0.1393
Red / Green / Blue94 / 89 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.55:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.79:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 77.4 / -24.4 · As background with white / black text: Lc -82.7 / 26.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #5e59cd;
  --color-brand-oklch: oklch(53.23% 0.1742 280.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(94 89 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5e59cd] text-[#5e59cd] border-[#5e59cd]">