#5E20BC#5E20BC

#5E20BC is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.0% C 0.218 H 292.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#5E20BC
RGBrgb(94, 32, 188)
HSLhsl(264, 71%, 43%)
HSVhsv(264, 83%, 74%)
CMYKcmyk(50%, 83%, 0%, 26.3%)
CIE-LABlab(31.90, 58.87, -69.81)
CIE-LCHlch(31.90, 91.32, 310.14°)
OKLaboklab(44.02% 0.0846 -0.2005)
OKLCHoklch(44.02% 0.218 292.9)
XYZxyz(14.2072, 7.0430, 48.1781)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E20BC #7EBC20
analogous
#2030BC #5E20BC #AC20BC
triadic
#5E20BC #BC5E20 #20BC5E
tetradic
#5E20BC #BC2030 #7EBC20 #20BCAC
square
#5E20BC #BC2030 #7EBC20 #20BCAC
split-complementary
#5E20BC #BCAC20 #30BC20
monochromatic
#2A0E53 #441788 #5E20BC #7C3BDE #9F70E7

Accessibility & contrast

On white

8.72
#5E20BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5E20BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E20BC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E20BC#FFFFFF#000000##FFFFFF
##5E20BC1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#3F4F70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5e20bc;
/* rgb */ color: rgb(94, 32, 188);
/* oklch */ color: oklch(44.0% 0.218 292.9);
Tailwind
colors: {
  custom: {
    50: '#9665d1',
    500: '#5e20bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e20bc;
$custom-light: #9665d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e20bc",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 263.846,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44018,
    "c": 0.21765,
    "h": 292.9
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#5E20BC
secondary
#A6CD6B
accent
#EE3AA6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #5E20BC

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

Preview Lab → · Contrast checker → · Palette generator →

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