#5941CC#5941CC

#5941CC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 48.8% C 0.203 H 283.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5941CC
RGBrgb(89, 65, 204)
HSLhsl(250, 58%, 53%)
HSVhsv(250, 68%, 80%)
CMYKcmyk(56.4%, 68.1%, 0%, 20%)
CIE-LABlab(38.31, 47.10, -68.68)
CIE-LCHlch(38.31, 83.28, 304.44°)
OKLaboklab(48.85% 0.0486 -0.1976)
OKLCHoklch(48.85% 0.203 283.8)
XYZxyz(16.9059, 10.2630, 58.2052)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941CC #B4CC41
analogous
#416ECC #5941CC #9F41CC
triadic
#5941CC #CC5941 #41CC59
tetradic
#5941CC #CC416E #B4CC41 #41CC9F
square
#5941CC #CC416E #B4CC41 #41CC9F
split-complementary
#5941CC #CC9F41 #6ECC41
monochromatic
#2E1F74 #412CA4 #5941CC #8371D9 #ADA1E6

Accessibility & contrast

On white

6.88
#5941CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5941CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941CC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941CC#FFFFFF#000000##FFFFFF
##5941CC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#1F6581
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5941cc;
/* rgb */ color: rgb(89, 65, 204);
/* oklch */ color: oklch(48.8% 0.203 283.8);
Tailwind
colors: {
  custom: {
    50: '#9378dd',
    500: '#5941cc',
    950: '#000000',
  },
}
SCSS
$custom: #5941cc;
$custom-light: #9378dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5941cc",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 250.36,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48848,
    "c": 0.20347,
    "h": 283.8
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#5941CC
secondary
#C8D396
accent
#E147C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5941CC

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

Preview Lab → · Contrast checker → · Palette generator →

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