#5E2075#5E2075

#5E2075 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.9% C 0.145 H 315.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#5E2075
RGBrgb(94, 32, 117)
HSLhsl(284, 57%, 29%)
HSVhsv(284, 73%, 46%)
CMYKcmyk(19.7%, 72.6%, 0%, 54.1%)
CIE-LABlab(25.85, 41.80, -36.15)
CIE-LCHlch(25.85, 55.26, 319.15°)
OKLaboklab(37.92% 0.1029 -0.1017)
OKLCHoklch(37.92% 0.145 315.3)
XYZxyz(8.3430, 4.6974, 17.2934)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2075 #377520
analogous
#342075 #5E2075 #752062
triadic
#5E2075 #755E20 #20755E
tetradic
#5E2075 #753420 #377520 #206275
square
#5E2075 #753420 #377520 #206275
split-complementary
#5E2075 #627520 #207534
monochromatic
#130718 #371345 #5E2075 #852DA5 #A744CC

Accessibility & contrast

On white

10.83
#5E2075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5E2075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2075
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2075#FFFFFF#000000##FFFFFF
##5E20751.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#1E3F73
Tritanopia (blue-blind)
#5C3148
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e2075;
/* rgb */ color: rgb(94, 32, 117);
/* oklch */ color: oklch(37.9% 0.145 315.3);
Tailwind
colors: {
  custom: {
    50: '#8f619d',
    500: '#5e2075',
    950: '#000000',
  },
}
SCSS
$custom: #5e2075;
$custom-light: #8f619d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2075",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 283.765,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37917,
    "c": 0.14467,
    "h": 315.3
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#5E2075
secondary
#62A848
accent
#E04771
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #5E2075

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

Preview Lab → · Contrast checker → · Palette generator →

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