#5E207F#5E207F

#5E207F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.155 H 311.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#5E207F
RGBrgb(94, 32, 127)
HSLhsl(279, 60%, 31%)
HSVhsv(279, 75%, 50%)
CMYKcmyk(26%, 74.8%, 0%, 50.2%)
CIE-LABlab(26.58, 44.05, -41.32)
CIE-LCHlch(26.58, 60.40, 316.83°)
OKLaboklab(38.66% 0.1016 -0.1169)
OKLCHoklch(38.66% 0.155 311)
XYZxyz(8.9626, 4.9452, 20.5569)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E207F #417F20
analogous
#2E207F #5E207F #7F2070
triadic
#5E207F #7F5E20 #207F5E
tetradic
#5E207F #7F2E20 #417F20 #20707F
square
#5E207F #7F2E20 #417F20 #20707F
split-complementary
#5E207F #707F20 #207F2E
monochromatic
#16071D #3A144E #5E207F #822CB0 #A248D1

Accessibility & contrast

On white

10.56
#5E207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5E207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E207F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E207F#FFFFFF#000000##FFFFFF
##5E207F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#10407D
Tritanopia (blue-blind)
#5A354D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e207f;
/* rgb */ color: rgb(94, 32, 127);
/* oklch */ color: oklch(38.7% 0.155 311.0);
Tailwind
colors: {
  custom: {
    50: '#8f62a5',
    500: '#5e207f',
    950: '#000000',
  },
}
SCSS
$custom: #5e207f;
$custom-light: #8f62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e207f",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 279.158,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38663,
    "c": 0.15492,
    "h": 311
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#5E207F
secondary
#6DB249
accent
#E3457C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #5E207F

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

Preview Lab → · Contrast checker → · Palette generator →

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