#5E2385#5E2385

#5E2385 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.157 H 308.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#5E2385
RGBrgb(94, 35, 133)
HSLhsl(276, 58%, 33%)
HSVhsv(276, 74%, 52%)
CMYKcmyk(29.3%, 73.7%, 0%, 47.8%)
CIE-LABlab(27.51, 44.11, -43.59)
CIE-LCHlch(27.51, 62.02, 315.34°)
OKLaboklab(39.46% 0.0975 -0.1236)
OKLCHoklch(39.46% 0.157 308.3)
XYZxyz(9.4499, 5.2754, 22.7062)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2385 #4A8523
analogous
#2D2385 #5E2385 #85237B
triadic
#5E2385 #855E23 #23855E
tetradic
#5E2385 #852D23 #4A8523 #237B85
square
#5E2385 #852D23 #4A8523 #237B85
split-complementary
#5E2385 #7B8523 #23852D
monochromatic
#1A0924 #3C1655 #5E2385 #8030B5 #9E51D1

Accessibility & contrast

On white

10.22
#5E2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5E2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2385
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2385#FFFFFF#000000##FFFFFF
##5E23851.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#074283
Tritanopia (blue-blind)
#583952
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e2385;
/* rgb */ color: rgb(94, 35, 133);
/* oklch */ color: oklch(39.5% 0.157 308.3);
Tailwind
colors: {
  custom: {
    50: '#9064a9',
    500: '#5e2385',
    950: '#000000',
  },
}
SCSS
$custom: #5e2385;
$custom-light: #9064a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2385",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 276.122,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39464,
    "c": 0.15742,
    "h": 308.3
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#5E2385
secondary
#77B54F
accent
#E24684
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5E2385

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

Preview Lab → · Contrast checker → · Palette generator →

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