#5941CE#5941CE

#5941CE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.0% C 0.206 H 283.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5941CE
RGBrgb(89, 65, 206)
HSLhsl(250, 59%, 53%)
HSVhsv(250, 68%, 81%)
CMYKcmyk(56.8%, 68.4%, 0%, 19.2%)
CIE-LABlab(38.48, 47.70, -69.56)
CIE-LCHlch(38.48, 84.34, 304.44°)
OKLaboklab(49.02% 0.0482 -0.2002)
OKLCHoklch(49.02% 0.206 283.5)
XYZxyz(17.1473, 10.3596, 59.4766)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941CE #B6CE41
analogous
#416FCE #5941CE #A041CE
triadic
#5941CE #CE5941 #41CE59
tetradic
#5941CE #CE416F #B6CE41 #41CEA0
square
#5941CE #CE416F #B6CE41 #41CEA0
split-complementary
#5941CE #CEA041 #6FCE41
monochromatic
#2D1E76 #402BA7 #5941CE #8472DB #AEA2E7

Accessibility & contrast

On white

6.84
#5941CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5941CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941CE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941CE#FFFFFF#000000##FFFFFF
##5941CE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#1B6682
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5941ce;
/* rgb */ color: rgb(89, 65, 206);
/* oklch */ color: oklch(49.0% 0.206 283.5);
Tailwind
colors: {
  custom: {
    50: '#9478de',
    500: '#5941ce',
    950: '#000000',
  },
}
SCSS
$custom: #5941ce;
$custom-light: #9478de;
$custom-dark: #000000;
JSON
{
  "hex": "#5941ce",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 250.213,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.20591,
    "h": 283.5
  },
  "luminance": 0.10361
}

Semantic roles & 50–950 ramp

primary
#5941CE
secondary
#C9D497
accent
#E246C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5941CE

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

Preview Lab → · Contrast checker → · Palette generator →

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