#5941CD#5941CD

#5941CD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 48.9% C 0.205 H 283.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5941CD
RGBrgb(89, 65, 205)
HSLhsl(250, 58%, 53%)
HSVhsv(250, 68%, 80%)
CMYKcmyk(56.6%, 68.3%, 0%, 19.6%)
CIE-LABlab(38.40, 47.40, -69.12)
CIE-LCHlch(38.40, 83.81, 304.44°)
OKLaboklab(48.94% 0.0484 -0.1989)
OKLCHoklch(48.94% 0.205 283.7)
XYZxyz(17.0262, 10.3112, 58.8388)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941CD #B5CD41
analogous
#416FCD #5941CD #9F41CD
triadic
#5941CD #CD5941 #41CD59
tetradic
#5941CD #CD416F #B5CD41 #41CD9F
square
#5941CD #CD416F #B5CD41 #41CD9F
split-complementary
#5941CD #CD9F41 #6FCD41
monochromatic
#2E1F75 #402CA5 #5941CD #8371DA #AEA2E6

Accessibility & contrast

On white

6.86
#5941CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5941CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941CD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941CD#FFFFFF#000000##FFFFFF
##5941CD1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#1D6582
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5941cd;
/* rgb */ color: rgb(89, 65, 205);
/* oklch */ color: oklch(48.9% 0.205 283.7);
Tailwind
colors: {
  custom: {
    50: '#9378dd',
    500: '#5941cd',
    950: '#000000',
  },
}
SCSS
$custom: #5941cd;
$custom-light: #9378dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5941cd",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 250.286,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48935,
    "c": 0.20469,
    "h": 283.7
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#5941CD
secondary
#C9D397
accent
#E246C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5941CD

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

Preview Lab → · Contrast checker → · Palette generator →

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