#5941CB#5941CB

#5941CB is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.8% C 0.202 H 283.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5941CB
RGBrgb(89, 65, 203)
HSLhsl(250, 57%, 53%)
HSVhsv(250, 68%, 80%)
CMYKcmyk(56.2%, 68%, 0%, 20.4%)
CIE-LABlab(38.23, 46.80, -68.24)
CIE-LCHlch(38.23, 82.74, 304.44°)
OKLaboklab(48.76% 0.0487 -0.1963)
OKLCHoklch(48.76% 0.202 283.9)
XYZxyz(16.7863, 10.2152, 57.5755)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941CB #B3CB41
analogous
#416ECB #5941CB #9E41CB
triadic
#5941CB #CB5941 #41CB59
tetradic
#5941CB #CB416E #B3CB41 #41CB9E
square
#5941CB #CB416E #B3CB41 #41CB9E
split-complementary
#5941CB #CB9E41 #6ECB41
monochromatic
#2E1F72 #412CA2 #5941CB #8371D8 #ADA1E5

Accessibility & contrast

On white

6.90
#5941CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5941CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941CB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941CB#FFFFFF#000000##FFFFFF
##5941CB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#206581
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5941cb;
/* rgb */ color: rgb(89, 65, 203);
/* oklch */ color: oklch(48.8% 0.202 283.9);
Tailwind
colors: {
  custom: {
    50: '#9377dc',
    500: '#5941cb',
    950: '#000000',
  },
}
SCSS
$custom: #5941cb;
$custom-light: #9377dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5941cb",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 250.435,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.20225,
    "h": 283.9
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#5941CB
secondary
#C7D296
accent
#E048C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5941CB

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

Preview Lab → · Contrast checker → · Palette generator →

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