#5F195D#5F195D

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

Color values

HEX#5F195D
RGBrgb(95, 25, 93)
HSLhsl(302, 58%, 24%)
HSVhsv(302, 74%, 37%)
CMYKcmyk(0%, 73.7%, 2.1%, 62.7%)
CIE-LABlab(23.40, 40.17, -24.47)
CIE-LCHlch(23.40, 47.04, 328.65°)
OKLaboklab(35.69% 0.113 -0.0676)
OKLCHoklch(35.69% 0.132 329.1)
XYZxyz(7.0427, 3.9190, 10.7393)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F195D #195F1B
analogous
#3E195F #5F195D #5F193A
triadic
#5F195D #5D5F19 #195D5F
tetradic
#5F195D #5F3E19 #195F1B #193A5F
square
#5F195D #5F3E19 #195F1B #193A5F
split-complementary
#5F195D #3A5F19 #195F3E
monochromatic
#180618 #2F0C2E #5F195D #8F268C #C032BC

Accessibility & contrast

On white

11.77
#5F195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F195D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F195D#FFFFFF#000000##FFFFFF
##5F195D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10325F
Deuteranopia (green-blind)
#2C3B5B
Tritanopia (blue-blind)
#622239
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f195d;
/* rgb */ color: rgb(95, 25, 93);
/* oklch */ color: oklch(35.7% 0.132 329.1);
Tailwind
colors: {
  custom: {
    50: '#8f5d8b',
    500: '#5f195d',
    950: '#000000',
  },
}
SCSS
$custom: #5f195d;
$custom-light: #8f5d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f195d",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 301.714,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35692,
    "c": 0.13168,
    "h": 329.1
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#5F195D
secondary
#3F9541
accent
#E24B46
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #5F195D

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

Preview Lab → · Contrast checker → · Palette generator →

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