#5F1965#5F1965

#5F1965 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.2% C 0.139 H 324.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#5F1965
RGBrgb(95, 25, 101)
HSLhsl(295, 60%, 25%)
HSVhsv(295, 75%, 40%)
CMYKcmyk(5.9%, 75.2%, 0%, 60.4%)
CIE-LABlab(23.90, 41.69, -28.94)
CIE-LCHlch(23.90, 50.75, 325.23°)
OKLaboklab(36.21% 0.1131 -0.0806)
OKLCHoklch(36.21% 0.139 324.5)
XYZxyz(7.4157, 4.0682, 12.7040)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1965 #1F6519
analogous
#391965 #5F1965 #651945
triadic
#5F1965 #655F19 #19655F
tetradic
#5F1965 #653919 #1F6519 #194565
square
#5F1965 #653919 #1F6519 #194565
split-complementary
#5F1965 #456519 #196539
monochromatic
#170619 #310D34 #5F1965 #8D2596 #BB31C7

Accessibility & contrast

On white

11.58
#5F1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5F1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1965
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1965#FFFFFF#000000##FFFFFF
##5F19651.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033367
Deuteranopia (green-blind)
#273C63
Tritanopia (blue-blind)
#61263D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f1965;
/* rgb */ color: rgb(95, 25, 101);
/* oklch */ color: oklch(36.2% 0.139 324.5);
Tailwind
colors: {
  custom: {
    50: '#8f5d91',
    500: '#5f1965',
    950: '#000000',
  },
}
SCSS
$custom: #5f1965;
$custom-light: #8f5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1965",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 295.263,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36206,
    "c": 0.13883,
    "h": 324.5
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#5F1965
secondary
#469B3F
accent
#E34451
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050D
muted
#7E797D

Preview Lab

Preview with #5F1965

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

Preview Lab → · Contrast checker → · Palette generator →

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