#5941BC#5941BC

#5941BC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.184 H 286.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5941BC
RGBrgb(89, 65, 188)
HSLhsl(252, 49%, 50%)
HSVhsv(252, 65%, 74%)
CMYKcmyk(52.7%, 65.4%, 0%, 26.3%)
CIE-LABlab(36.99, 42.29, -61.49)
CIE-LCHlch(36.99, 74.63, 304.52°)
OKLaboklab(47.49% 0.0508 -0.1765)
OKLCHoklch(47.49% 0.184 286)
XYZxyz(15.0845, 9.5345, 48.6127)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941BC #A4BC41
analogous
#4167BC #5941BC #9741BC
triadic
#5941BC #BC5941 #41BC59
tetradic
#5941BC #BC4167 #A4BC41 #41BC97
square
#5941BC #BC4167 #A4BC41 #41BC97
split-complementary
#5941BC #BC9741 #67BC41
monochromatic
#2E2261 #43318F #5941BC #806ECD #A89BDC

Accessibility & contrast

On white

7.22
#5941BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5941BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5941BC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941BC#FFFFFF#000000##FFFFFF
##5941BC1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#325F79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5941bc;
/* rgb */ color: rgb(89, 65, 188);
/* oklch */ color: oklch(47.5% 0.184 286.0);
Tailwind
colors: {
  custom: {
    50: '#9177d1',
    500: '#5941bc',
    950: '#000000',
  },
}
SCSS
$custom: #5941bc;
$custom-light: #9177d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5941bc",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 251.707,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.18365,
    "h": 286
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#5941BC
secondary
#BEC990
accent
#D850BE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5941BC

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

Preview Lab → · Contrast checker → · Palette generator →

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