#5912E2#5912E2

#5912E2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 46.6% C 0.263 H 284.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5912E2
RGBrgb(89, 18, 226)
HSLhsl(260, 85%, 48%)
HSVhsv(260, 92%, 89%)
CMYKcmyk(60.6%, 92%, 0%, 11.4%)
CIE-LABlab(34.08, 71.59, -88.33)
CIE-LCHlch(34.08, 113.70, 309.02°)
OKLaboklab(46.55% 0.067 -0.2545)
OKLCHoklch(46.55% 0.263 284.8)
XYZxyz(18.0594, 8.0462, 72.5382)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5912E2 #9BE212
analogous
#1233E2 #5912E2 #C112E2
triadic
#5912E2 #E25912 #12E259
tetradic
#5912E2 #E21233 #9BE212 #12E2C1
square
#5912E2 #E21233 #9BE212 #12E2C1
split-complementary
#5912E2 #E2C112 #33E212
monochromatic
#2C0971 #430DA9 #5912E2 #7D41F0 #A47AF4

Accessibility & contrast

On white

8.05
#5912E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5912E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5912E2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5912E2#FFFFFF#000000##FFFFFF
##5912E21.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055E7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#005D85
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5912e2;
/* rgb */ color: rgb(89, 18, 226);
/* oklch */ color: oklch(46.6% 0.263 284.8);
Tailwind
colors: {
  custom: {
    50: '#9a63ed',
    500: '#5912e2',
    950: '#000000',
  },
}
SCSS
$custom: #5912e2;
$custom-light: #9a63ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5912e2",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 226
  },
  "hsl": {
    "h": 260.481,
    "s": 85.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.26316,
    "h": 284.8
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#5912E2
secondary
#B8DC74
accent
#FB2CB5
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#100617
muted
#7F7A85

Preview Lab

Preview with #5912E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5912E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva