#5F0E53#5F0E53

#5F0E53 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.136 H 335.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#5F0E53
RGBrgb(95, 14, 83)
HSLhsl(309, 74%, 21%)
HSVhsv(309, 85%, 37%)
CMYKcmyk(0%, 85.3%, 12.6%, 62.7%)
CIE-LABlab(21.48, 42.28, -20.84)
CIE-LCHlch(21.48, 47.14, 333.76°)
OKLaboklab(34.12% 0.1237 -0.057)
OKLCHoklch(34.12% 0.136 335.2)
XYZxyz(6.4378, 3.3721, 8.4938)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E53 #0E5F1A
analogous
#430E5F #5F0E53 #5F0E2B
triadic
#5F0E53 #535F0E #0E535F
tetradic
#5F0E53 #5F430E #0E5F1A #0E2B5F
square
#5F0E53 #5F430E #0E5F1A #0E2B5F
split-complementary
#5F0E53 #2B5F0E #0E5F43
monochromatic
#1B0417 #2A0624 #5F0E53 #941682 #CA1EB0

Accessibility & contrast

On white

12.54
#5F0E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F0E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E53
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E53#FFFFFF#000000##FFFFFF
##5F0E531.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2C55
Deuteranopia (green-blind)
#2D3851
Tritanopia (blue-blind)
#641630
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0e53;
/* rgb */ color: rgb(95, 14, 83);
/* oklch */ color: oklch(34.1% 0.136 335.2);
Tailwind
colors: {
  custom: {
    50: '#905883',
    500: '#5f0e53',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e53;
$custom-light: #905883;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e53",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 308.889,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34121,
    "c": 0.13618,
    "h": 335.2
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#5F0E53
secondary
#309940
accent
#F15237
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0E53

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

Preview Lab → · Contrast checker → · Palette generator →

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