#5F0E5E#5F0E5E

#5F0E5E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.145 H 328.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5F0E5E
RGBrgb(95, 14, 94)
HSLhsl(301, 74%, 21%)
HSVhsv(301, 85%, 37%)
CMYKcmyk(0%, 85.3%, 1.1%, 62.7%)
CIE-LABlab(22.14, 44.13, -27.13)
CIE-LCHlch(22.14, 51.80, 328.42°)
OKLaboklab(34.81% 0.1238 -0.0752)
OKLCHoklch(34.81% 0.145 328.7)
XYZxyz(6.8967, 3.5557, 10.9106)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E5E #0E5F0F
analogous
#380E5F #5F0E5E #5F0E36
triadic
#5F0E5E #5E5F0E #0E5E5F
tetradic
#5F0E5E #5F380E #0E5F0F #0E365F
square
#5F0E5E #5F380E #0E5F0F #0E365F
split-complementary
#5F0E5E #365F0E #0E5F38
monochromatic
#1B041A #2A0629 #5F0E5E #941693 #CA1EC8

Accessibility & contrast

On white

12.27
#5F0E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F0E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E5E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E5E#FFFFFF#000000##FFFFFF
##5F0E5E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#27395C
Tritanopia (blue-blind)
#621C37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f0e5e;
/* rgb */ color: rgb(95, 14, 94);
/* oklch */ color: oklch(34.8% 0.145 328.7);
Tailwind
colors: {
  custom: {
    50: '#90598c',
    500: '#5f0e5e',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e5e;
$custom-light: #90598c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e5e",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 300.741,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34813,
    "c": 0.14482,
    "h": 328.7
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#5F0E5E
secondary
#309931
accent
#F13937
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F0E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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