#5F2376#5F2376

#5F2376 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.142 H 315.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#5F2376
RGBrgb(95, 35, 118)
HSLhsl(283, 54%, 30%)
HSVhsv(283, 70%, 46%)
CMYKcmyk(19.5%, 70.3%, 0%, 53.7%)
CIE-LABlab(26.57, 40.88, -35.62)
CIE-LCHlch(26.57, 54.22, 318.93°)
OKLaboklab(38.49% 0.1006 -0.1002)
OKLCHoklch(38.49% 0.142 315.1)
XYZxyz(8.5898, 4.9433, 17.6377)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2376 #3A7623
analogous
#352376 #5F2376 #762364
triadic
#5F2376 #765F23 #23765F
tetradic
#5F2376 #763523 #3A7623 #236476
square
#5F2376 #763523 #3A7623 #236476
split-complementary
#5F2376 #647623 #237635
monochromatic
#130718 #391547 #5F2376 #8531A5 #A64AC9

Accessibility & contrast

On white

10.56
#5F2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5F2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2376
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2376#FFFFFF#000000##FFFFFF
##5F23761.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#214074
Tritanopia (blue-blind)
#5D3349
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5f2376;
/* rgb */ color: rgb(95, 35, 118);
/* oklch */ color: oklch(38.5% 0.142 315.1);
Tailwind
colors: {
  custom: {
    50: '#8f639e',
    500: '#5f2376',
    950: '#000000',
  },
}
SCSS
$custom: #5f2376;
$custom-light: #8f639e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2376",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 283.373,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.14199,
    "h": 315.1
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#5F2376
secondary
#66A94C
accent
#DE4A73
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #5F2376

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

Preview Lab → · Contrast checker → · Palette generator →

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