#5E2490#5E2490

#5E2490 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.168 H 304.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#5E2490
RGBrgb(94, 36, 144)
HSLhsl(272, 60%, 35%)
HSVhsv(272, 75%, 56%)
CMYKcmyk(34.7%, 75%, 0%, 43.5%)
CIE-LABlab(28.53, 46.31, -48.77)
CIE-LCHlch(28.53, 67.26, 313.51°)
OKLaboklab(40.46% 0.0944 -0.1388)
OKLCHoklch(40.46% 0.168 304.2)
XYZxyz(10.2799, 5.6551, 26.9301)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2490 #569024
analogous
#282490 #5E2490 #90248C
triadic
#5E2490 #905E24 #24905E
tetradic
#5E2490 #902824 #569024 #248C90
square
#5E2490 #902824 #569024 #248C90
split-complementary
#5E2490 #8C9024 #249028
monochromatic
#1E0C2E #3E185F #5E2490 #7E30C1 #9C59D5

Accessibility & contrast

On white

9.85
#5E2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5E2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2490
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2490#FFFFFF#000000##FFFFFF
##5E24901.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#543E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5e2490;
/* rgb */ color: rgb(94, 36, 144);
/* oklch */ color: oklch(40.5% 0.168 304.2);
Tailwind
colors: {
  custom: {
    50: '#9065b1',
    500: '#5e2490',
    950: '#000000',
  },
}
SCSS
$custom: #5e2490;
$custom-light: #9065b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2490",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 272.222,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40457,
    "c": 0.16792,
    "h": 304.2
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#5E2490
secondary
#84BA56
accent
#E3458E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2490

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

Preview Lab → · Contrast checker → · Palette generator →

#5E2490 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva