#5941CA#5941CA

#5941CA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.7% C 0.201 H 284.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5941CA
RGBrgb(89, 65, 202)
HSLhsl(251, 56%, 52%)
HSVhsv(251, 68%, 79%)
CMYKcmyk(55.9%, 67.8%, 0%, 20.8%)
CIE-LABlab(38.14, 46.49, -67.79)
CIE-LCHlch(38.14, 82.21, 304.44°)
OKLaboklab(48.67% 0.0489 -0.195)
OKLCHoklch(48.67% 0.201 284.1)
XYZxyz(16.6675, 10.1677, 56.9500)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941CA #B2CA41
analogous
#416DCA #5941CA #9E41CA
triadic
#5941CA #CA5941 #41CA59
tetradic
#5941CA #CA416D #B2CA41 #41CA9E
square
#5941CA #CA416D #B2CA41 #41CA9E
split-complementary
#5941CA #CA9E41 #6DCA41
monochromatic
#2E2071 #412DA1 #5941CA #8371D7 #ADA1E5

Accessibility & contrast

On white

6.92
#5941CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5941CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941CA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941CA#FFFFFF#000000##FFFFFF
##5941CA1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#226480
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5941ca;
/* rgb */ color: rgb(89, 65, 202);
/* oklch */ color: oklch(48.7% 0.201 284.1);
Tailwind
colors: {
  custom: {
    50: '#9377db',
    500: '#5941ca',
    950: '#000000',
  },
}
SCSS
$custom: #5941ca;
$custom-light: #9377db;
$custom-dark: #000000;
JSON
{
  "hex": "#5941ca",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 250.511,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.20103,
    "h": 284.1
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#5941CA
secondary
#C7D196
accent
#E048C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5941CA

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

Preview Lab → · Contrast checker → · Palette generator →

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