#5E2175#5E2175

#5E2175 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.0% C 0.143 H 315.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#5E2175
RGBrgb(94, 33, 117)
HSLhsl(284, 56%, 29%)
HSVhsv(284, 72%, 46%)
CMYKcmyk(19.7%, 71.8%, 0%, 54.1%)
CIE-LABlab(26.02, 41.35, -35.89)
CIE-LCHlch(26.02, 54.75, 319.04°)
OKLaboklab(38.03% 0.1017 -0.101)
OKLCHoklch(38.03% 0.143 315.2)
XYZxyz(8.3703, 4.7520, 17.3025)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2175 #387521
analogous
#342175 #5E2175 #752162
triadic
#5E2175 #755E21 #21755E
tetradic
#5E2175 #753421 #387521 #216275
square
#5E2175 #753421 #387521 #216275
split-complementary
#5E2175 #627521 #217534
monochromatic
#130718 #381445 #5E2175 #842EA5 #A646CB

Accessibility & contrast

On white

10.77
#5E2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5E2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2175
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2175#FFFFFF#000000##FFFFFF
##5E21751.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#5C3248
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e2175;
/* rgb */ color: rgb(94, 33, 117);
/* oklch */ color: oklch(38.0% 0.143 315.2);
Tailwind
colors: {
  custom: {
    50: '#8f629d',
    500: '#5e2175',
    950: '#000000',
  },
}
SCSS
$custom: #5e2175;
$custom-light: #8f629d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2175",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 283.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38033,
    "c": 0.14332,
    "h": 315.2
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#5E2175
secondary
#63A84A
accent
#DF4972
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #5E2175

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

Preview Lab → · Contrast checker → · Palette generator →

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