#5F0E55#5F0E55

#5F0E55 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.138 H 334.0°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#5F0E55
RGBrgb(95, 14, 85)
HSLhsl(307, 74%, 21%)
HSVhsv(307, 85%, 37%)
CMYKcmyk(0%, 85.3%, 10.5%, 62.7%)
CIE-LABlab(21.59, 42.60, -22.00)
CIE-LCHlch(21.59, 47.95, 332.68°)
OKLaboklab(34.24% 0.1238 -0.0604)
OKLCHoklch(34.24% 0.138 334)
XYZxyz(6.5161, 3.4034, 8.9063)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E55 #0E5F18
analogous
#410E5F #5F0E55 #5F0E2D
triadic
#5F0E55 #555F0E #0E555F
tetradic
#5F0E55 #5F410E #0E5F18 #0E2D5F
square
#5F0E55 #5F410E #0E5F18 #0E2D5F
split-complementary
#5F0E55 #2D5F0E #0E5F41
monochromatic
#1B0418 #2A0625 #5F0E55 #941685 #CA1EB4

Accessibility & contrast

On white

12.50
#5F0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F0E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E55
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E55#FFFFFF#000000##FFFFFF
##5F0E551.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2C57
Deuteranopia (green-blind)
#2C3853
Tritanopia (blue-blind)
#641731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f0e55;
/* rgb */ color: rgb(95, 14, 85);
/* oklch */ color: oklch(34.2% 0.138 334.0);
Tailwind
colors: {
  custom: {
    50: '#905885',
    500: '#5f0e55',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e55;
$custom-light: #905885;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e55",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 307.407,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34242,
    "c": 0.13771,
    "h": 334
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#5F0E55
secondary
#30993D
accent
#F14E37
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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