#5941CF#5941CF

#5941CF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.1% C 0.207 H 283.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5941CF
RGBrgb(89, 65, 207)
HSLhsl(250, 60%, 53%)
HSVhsv(250, 69%, 81%)
CMYKcmyk(57%, 68.6%, 0%, 18.8%)
CIE-LABlab(38.57, 47.99, -70.00)
CIE-LCHlch(38.57, 84.87, 304.44°)
OKLaboklab(49.11% 0.0481 -0.2015)
OKLCHoklch(49.11% 0.207 283.4)
XYZxyz(17.2691, 10.4084, 60.1184)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941CF #B7CF41
analogous
#4170CF #5941CF #A041CF
triadic
#5941CF #CF5941 #41CF59
tetradic
#5941CF #CF4170 #B7CF41 #41CFA0
square
#5941CF #CF4170 #B7CF41 #41CFA0
split-complementary
#5941CF #CFA041 #70CF41
monochromatic
#2D1E77 #402BA8 #5941CF #8472DB #AEA3E8

Accessibility & contrast

On white

6.81
#5941CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5941CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941CF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941CF#FFFFFF#000000##FFFFFF
##5941CF1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#196683
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5941cf;
/* rgb */ color: rgb(89, 65, 207);
/* oklch */ color: oklch(49.1% 0.207 283.4);
Tailwind
colors: {
  custom: {
    50: '#9478df',
    500: '#5941cf',
    950: '#000000',
  },
}
SCSS
$custom: #5941cf;
$custom-light: #9478df;
$custom-dark: #000000;
JSON
{
  "hex": "#5941cf",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 250.141,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.20712,
    "h": 283.4
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#5941CF
secondary
#CAD497
accent
#E345C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5941CF

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

Preview Lab → · Contrast checker → · Palette generator →

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