#5E207E#5E207E

#5E207E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.154 H 311.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#5E207E
RGBrgb(94, 32, 126)
HSLhsl(280, 59%, 31%)
HSVhsv(280, 75%, 49%)
CMYKcmyk(25.4%, 74.6%, 0%, 50.6%)
CIE-LABlab(26.50, 43.83, -40.81)
CIE-LCHlch(26.50, 59.89, 317.04°)
OKLaboklab(38.59% 0.1018 -0.1154)
OKLCHoklch(38.59% 0.154 311.4)
XYZxyz(8.8978, 4.9193, 20.2154)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E207E #407E20
analogous
#2F207E #5E207E #7E206F
triadic
#5E207E #7E5E20 #207E5E
tetradic
#5E207E #7E2F20 #407E20 #206F7E
square
#5E207E #7E2F20 #407E20 #206F7E
split-complementary
#5E207E #6F7E20 #207E2F
monochromatic
#15071C #3A144D #5E207E #822CAF #A248D0

Accessibility & contrast

On white

10.59
#5E207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5E207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E207E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E207E#FFFFFF#000000##FFFFFF
##5E207E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#12407C
Tritanopia (blue-blind)
#5A354D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e207e;
/* rgb */ color: rgb(94, 32, 126);
/* oklch */ color: oklch(38.6% 0.154 311.4);
Tailwind
colors: {
  custom: {
    50: '#8f62a4',
    500: '#5e207e',
    950: '#000000',
  },
}
SCSS
$custom: #5e207e;
$custom-light: #8f62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e207e",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 279.574,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38586,
    "c": 0.15389,
    "h": 311.4
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#5E207E
secondary
#6CB149
accent
#E3457B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5E207E

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

Preview Lab → · Contrast checker → · Palette generator →

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