#5F1963#5F1963

#5F1963 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.137 H 325.6°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#5F1963
RGBrgb(95, 25, 99)
HSLhsl(297, 60%, 24%)
HSVhsv(297, 75%, 39%)
CMYKcmyk(4%, 74.7%, 0%, 61.2%)
CIE-LABlab(23.77, 41.30, -27.84)
CIE-LCHlch(23.77, 49.81, 326.02°)
OKLaboklab(36.07% 0.1131 -0.0774)
OKLCHoklch(36.07% 0.137 325.6)
XYZxyz(7.3189, 4.0295, 12.1942)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1963 #1D6319
analogous
#3A1963 #5F1963 #631942
triadic
#5F1963 #635F19 #19635F
tetradic
#5F1963 #633A19 #1D6319 #194263
square
#5F1963 #633A19 #1D6319 #194263
split-complementary
#5F1963 #426319 #19633A
monochromatic
#170618 #300D32 #5F1963 #8E2594 #BD32C5

Accessibility & contrast

On white

11.63
#5F1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5F1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1963
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1963#FFFFFF#000000##FFFFFF
##5F19631.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073365
Deuteranopia (green-blind)
#293C61
Tritanopia (blue-blind)
#61253C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f1963;
/* rgb */ color: rgb(95, 25, 99);
/* oklch */ color: oklch(36.1% 0.137 325.6);
Tailwind
colors: {
  custom: {
    50: '#8f5d90',
    500: '#5f1963',
    950: '#000000',
  },
}
SCSS
$custom: #5f1963;
$custom-light: #8f5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1963",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 296.757,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36074,
    "c": 0.13702,
    "h": 325.6
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#5F1963
secondary
#44993F
accent
#E3454D
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #5F1963

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

Preview Lab → · Contrast checker → · Palette generator →

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