#5E195E#5E195E

#5E195E is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.132 H 327.9°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#5E195E
RGBrgb(94, 25, 94)
HSLhsl(300, 58%, 23%)
HSVhsv(300, 73%, 37%)
CMYKcmyk(0%, 73.4%, 0%, 63.1%)
CIE-LABlab(23.28, 40.10, -25.33)
CIE-LCHlch(23.28, 47.43, 327.72°)
OKLaboklab(35.59% 0.1118 -0.0701)
OKLCHoklch(35.59% 0.132 327.9)
XYZxyz(6.9840, 3.8836, 10.9693)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E195E #195E19
analogous
#3B195E #5E195E #5E193B
triadic
#5E195E #5E5E19 #195E5E
tetradic
#5E195E #5E3B19 #195E19 #193B5E
square
#5E195E #5E3B19 #195E19 #193B5E
split-complementary
#5E195E #3B5E19 #195E3B
monochromatic
#180618 #2E0C2E #5E195E #8E268E #BF33BF

Accessibility & contrast

On white

11.82
#5E195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E195E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E195E#FFFFFF#000000##FFFFFF
##5E195E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3260
Deuteranopia (green-blind)
#2B3B5C
Tritanopia (blue-blind)
#612339
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e195e;
/* rgb */ color: rgb(94, 25, 94);
/* oklch */ color: oklch(35.6% 0.132 327.9);
Tailwind
colors: {
  custom: {
    50: '#8e5d8c',
    500: '#5e195e',
    950: '#000000',
  },
}
SCSS
$custom: #5e195e;
$custom-light: #8e5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e195e",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 300,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35591,
    "c": 0.13199,
    "h": 327.9
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#5E195E
secondary
#3F943F
accent
#E14747
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E195E

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

Preview Lab → · Contrast checker → · Palette generator →

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