#5F1269#5F1269

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

Color values

HEX#5F1269
RGBrgb(95, 18, 105)
HSLhsl(293, 71%, 24%)
HSVhsv(293, 83%, 41%)
CMYKcmyk(9.5%, 82.9%, 0%, 58.8%)
CIE-LABlab(23.29, 44.96, -32.52)
CIE-LCHlch(23.29, 55.49, 324.12°)
OKLaboklab(35.86% 0.1196 -0.091)
OKLCHoklch(35.86% 0.15 322.7)
XYZxyz(7.4852, 3.8859, 13.7177)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1269 #1C6912
analogous
#341269 #5F1269 #691248
triadic
#5F1269 #695F12 #12695F
tetradic
#5F1269 #693412 #1C6912 #124869
square
#5F1269 #693412 #1C6912 #124869
split-complementary
#5F1269 #486912 #126934
monochromatic
#18041A #300935 #5F1269 #8E1B9D #BE24D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1269#FFFFFF#000000##FFFFFF
##5F12691.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)
#00326B
Deuteranopia (green-blind)
#213A67
Tritanopia (blue-blind)
#60243E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1269;
/* rgb */ color: rgb(95, 18, 105);
/* oklch */ color: oklch(35.9% 0.150 322.7);
Tailwind
colors: {
  custom: {
    50: '#905b94',
    500: '#5f1269',
    950: '#000000',
  },
}
SCSS
$custom: #5f1269;
$custom-light: #905b94;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1269",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 293.103,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35861,
    "c": 0.15027,
    "h": 322.7
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#5F1269
secondary
#42A136
accent
#ED3A4F
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F1269

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

Preview Lab → · Contrast checker → · Palette generator →

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