#5939CE#5939CE

#5939CE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.9% C 0.215 H 284.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5939CE
RGBrgb(89, 57, 206)
HSLhsl(253, 60%, 52%)
HSVhsv(253, 72%, 81%)
CMYKcmyk(56.8%, 72.3%, 0%, 19.2%)
CIE-LABlab(36.94, 51.97, -72.08)
CIE-LCHlch(36.94, 88.87, 305.79°)
OKLaboklab(47.92% 0.0546 -0.2075)
OKLCHoklch(47.92% 0.215 284.7)
XYZxyz(16.7201, 9.5053, 59.3342)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5939CE #AECE39
analogous
#3964CE #5939CE #A439CE
triadic
#5939CE #CE5939 #39CE59
tetradic
#5939CE #CE3964 #AECE39 #39CEA4
square
#5939CE #CE3964 #AECE39 #39CEA4
split-complementary
#5939CE #CEA439 #64CE39
monochromatic
#2E1C71 #4228A2 #5939CE #826ADA #AB9BE6

Accessibility & contrast

On white

7.24
#5939CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5939CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5939CE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5939CE#FFFFFF#000000##FFFFFF
##5939CE1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#1C6280
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5939ce;
/* rgb */ color: rgb(89, 57, 206);
/* oklch */ color: oklch(47.9% 0.215 284.7);
Tailwind
colors: {
  custom: {
    50: '#9473de',
    500: '#5939ce',
    950: '#000000',
  },
}
SCSS
$custom: #5939ce;
$custom-light: #9473de;
$custom-dark: #000000;
JSON
{
  "hex": "#5939ce",
  "rgb": {
    "r": 89,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 252.886,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.21462,
    "h": 284.7
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#5939CE
secondary
#C4D291
accent
#E344C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5939CE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5939CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva