#5909CD#5909CD

#5909CD is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.9% C 0.246 H 288.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#5909CD
RGBrgb(89, 9, 205)
HSLhsl(264, 92%, 42%)
HSVhsv(264, 96%, 80%)
CMYKcmyk(56.6%, 95.6%, 0%, 19.6%)
CIE-LABlab(31.18, 68.26, -81.01)
CIE-LCHlch(31.18, 105.93, 310.11°)
OKLaboklab(43.92% 0.0784 -0.2331)
OKLCHoklch(43.92% 0.246 288.6)
XYZxyz(15.2337, 6.7262, 58.2413)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5909CD #7DCD09
analogous
#091BCD #5909CD #BB09CD
triadic
#5909CD #CD5909 #09CD59
tetradic
#5909CD #CD091B #7DCD09 #09CDBB
square
#5909CD #CD091B #7DCD09 #09CDBB
split-complementary
#5909CD #CDBB09 #1BCD09
monochromatic
#260458 #400692 #5909CD #761EF5 #9A59F8

Accessibility & contrast

On white

8.95
#5909CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5909CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5909CD
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5909CD#FFFFFF#000000##FFFFFF
##5909CD1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DD2
Deuteranopia (green-blind)
#0045CA
Tritanopia (blue-blind)
#225278
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5909cd;
/* rgb */ color: rgb(89, 9, 205);
/* oklch */ color: oklch(43.9% 0.246 288.6);
Tailwind
colors: {
  custom: {
    50: '#965fde',
    500: '#5909cd',
    950: '#000000',
  },
}
SCSS
$custom: #5909cd;
$custom-light: #965fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5909cd",
  "rgb": {
    "r": 89,
    "g": 9,
    "b": 205
  },
  "hsl": {
    "h": 264.49,
    "s": 91.589,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43918,
    "c": 0.24593,
    "h": 288.6
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#5909CD
secondary
#A5DA57
accent
#FF29A8
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#0F0515
muted
#7F7A83

Preview Lab

Preview with #5909CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5909CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva