#5F0C53#5F0C53

#5F0C53 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.138 H 335.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#5F0C53
RGBrgb(95, 12, 83)
HSLhsl(309, 78%, 21%)
HSVhsv(309, 87%, 37%)
CMYKcmyk(0%, 87.4%, 12.6%, 62.7%)
CIE-LABlab(21.29, 42.83, -21.14)
CIE-LCHlch(21.29, 47.76, 333.73°)
OKLaboklab(33.99% 0.1253 -0.0579)
OKLCHoklch(33.99% 0.138 335.2)
XYZxyz(6.4122, 3.3210, 8.4852)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C53 #0C5F18
analogous
#410C5F #5F0C53 #5F0C29
triadic
#5F0C53 #535F0C #0C535F
tetradic
#5F0C53 #5F410C #0C5F18 #0C295F
square
#5F0C53 #5F410C #0C5F18 #0C295F
split-complementary
#5F0C53 #295F0C #0C5F41
monochromatic
#1B0318 #290524 #5F0C53 #951382 #CC1AB2

Accessibility & contrast

On white

12.62
#5F0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0C53
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C53#FFFFFF#000000##FFFFFF
##5F0C531.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B55
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#641430
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0c53;
/* rgb */ color: rgb(95, 12, 83);
/* oklch */ color: oklch(34.0% 0.138 335.2);
Tailwind
colors: {
  custom: {
    50: '#905883',
    500: '#5f0c53',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c53;
$custom-light: #905883;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c53",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 308.675,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33985,
    "c": 0.13803,
    "h": 335.2
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#5F0C53
secondary
#2D993D
accent
#F45034
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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