#5E2390#5E2390

#5E2390 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.169 H 304.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#5E2390
RGBrgb(94, 35, 144)
HSLhsl(272, 61%, 35%)
HSVhsv(272, 76%, 56%)
CMYKcmyk(34.7%, 75.7%, 0%, 43.5%)
CIE-LABlab(28.37, 46.75, -49.03)
CIE-LCHlch(28.37, 67.75, 313.64°)
OKLaboklab(40.35% 0.0954 -0.1396)
OKLCHoklch(40.35% 0.169 304.4)
XYZxyz(10.2500, 5.5954, 26.9202)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2390 #559023
analogous
#272390 #5E2390 #90238C
triadic
#5E2390 #905E23 #23905E
tetradic
#5E2390 #902723 #559023 #238C90
square
#5E2390 #902723 #559023 #238C90
split-complementary
#5E2390 #8C9023 #239027
monochromatic
#1E0B2E #3E175F #5E2390 #7E2FC1 #9C57D6

Accessibility & contrast

On white

9.91
#5E2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5E2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2390
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2390#FFFFFF#000000##FFFFFF
##5E23901.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.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: #5e2390;
/* rgb */ color: rgb(94, 35, 144);
/* oklch */ color: oklch(40.3% 0.169 304.4);
Tailwind
colors: {
  custom: {
    50: '#9164b1',
    500: '#5e2390',
    950: '#000000',
  },
}
SCSS
$custom: #5e2390;
$custom-light: #9164b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2390",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 272.477,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40346,
    "c": 0.16908,
    "h": 304.4
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#5E2390
secondary
#83BA54
accent
#E4448D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2390

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

Preview Lab → · Contrast checker → · Palette generator →

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