#5C0F6A#5C0F6A

#5C0F6A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.153 H 320.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5C0F6A
RGBrgb(92, 15, 106)
HSLhsl(291, 75%, 24%)
HSVhsv(291, 86%, 42%)
CMYKcmyk(13.2%, 85.8%, 0%, 58.4%)
CIE-LABlab(22.51, 45.44, -34.46)
CIE-LCHlch(22.51, 57.03, 322.83°)
OKLaboklab(35.23% 0.1181 -0.0967)
OKLCHoklch(35.23% 0.153 320.7)
XYZxyz(7.1857, 3.6580, 13.9604)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F6A #1D6A0F
analogous
#2E0F6A #5C0F6A #6A0F4A
triadic
#5C0F6A #6A5C0F #0F6A5C
tetradic
#5C0F6A #6A2E0F #1D6A0F #0F4A6A
square
#5C0F6A #6A2E0F #1D6A0F #0F4A6A
split-complementary
#5C0F6A #4A6A0F #0F6A2E
monochromatic
#17041B #2D0734 #5C0F6A #8B17A0 #B91ED5

Accessibility & contrast

On white

12.13
#5C0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5C0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F6A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F6A#FFFFFF#000000##FFFFFF
##5C0F6A1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#1A3868
Tritanopia (blue-blind)
#5C243E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c0f6a;
/* rgb */ color: rgb(92, 15, 106);
/* oklch */ color: oklch(35.2% 0.153 320.7);
Tailwind
colors: {
  custom: {
    50: '#8e5995',
    500: '#5c0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f6a;
$custom-light: #8e5995;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f6a",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 290.769,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35226,
    "c": 0.15267,
    "h": 320.7
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#5C0F6A
secondary
#44A232
accent
#F23653
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5C0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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