#5E209F#5E209F

#5E209F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.188 H 300.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#5E209F
RGBrgb(94, 32, 159)
HSLhsl(269, 66%, 37%)
HSVhsv(269, 80%, 62%)
CMYKcmyk(40.9%, 79.9%, 0%, 37.6%)
CIE-LABlab(29.20, 51.68, -56.87)
CIE-LCHlch(29.20, 76.84, 312.26°)
OKLaboklab(41.32% 0.0942 -0.1626)
OKLCHoklch(41.32% 0.188 300.1)
XYZxyz(11.3890, 5.9158, 33.3360)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E209F #619F20
analogous
#20229F #5E209F #9D209F
triadic
#5E209F #9F5E20 #209F5E
tetradic
#5E209F #9F2022 #619F20 #209F9D
square
#5E209F #9F2022 #619F20 #209F9D
split-complementary
#5E209F #9F9D20 #229F20
monochromatic
#220B39 #40166C #5E209F #7C2AD2 #9B5BDE

Accessibility & contrast

On white

9.62
#5E209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5E209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E209F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E209F#FFFFFF#000000##FFFFFF
##5E209F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#4F4360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5e209f;
/* rgb */ color: rgb(94, 32, 159);
/* oklch */ color: oklch(41.3% 0.188 300.1);
Tailwind
colors: {
  custom: {
    50: '#9263bc',
    500: '#5e209f',
    950: '#000000',
  },
}
SCSS
$custom: #5e209f;
$custom-light: #9263bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e209f",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 269.291,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41323,
    "c": 0.18793,
    "h": 300.1
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#5E209F
secondary
#8FC259
accent
#E93E96
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E209F

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

Preview Lab → · Contrast checker → · Palette generator →

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