#5F1468#5F1468

#5F1468 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.0% C 0.147 H 323.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#5F1468
RGBrgb(95, 20, 104)
HSLhsl(294, 68%, 24%)
HSVhsv(294, 81%, 41%)
CMYKcmyk(8.7%, 80.8%, 0%, 59.2%)
CIE-LABlab(23.45, 44.11, -31.61)
CIE-LCHlch(23.45, 54.27, 324.37°)
OKLaboklab(35.95% 0.1179 -0.0883)
OKLCHoklch(35.95% 0.147 323.2)
XYZxyz(7.4679, 3.9331, 13.4598)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1468 #1D6814
analogous
#351468 #5F1468 #681447
triadic
#5F1468 #685F14 #14685F
tetradic
#5F1468 #683514 #1D6814 #144768
square
#5F1468 #683514 #1D6814 #144768
split-complementary
#5F1468 #476814 #146835
monochromatic
#17051A #300A35 #5F1468 #8E1E9B #BD28CF

Accessibility & contrast

On white

11.75
#5F1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5F1468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1468
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1468#FFFFFF#000000##FFFFFF
##5F14681.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#233B66
Tritanopia (blue-blind)
#61243E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f1468;
/* rgb */ color: rgb(95, 20, 104);
/* oklch */ color: oklch(36.0% 0.147 323.2);
Tailwind
colors: {
  custom: {
    50: '#905b93',
    500: '#5f1468',
    950: '#000000',
  },
}
SCSS
$custom: #5f1468;
$custom-light: #905b93;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1468",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 293.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35952,
    "c": 0.14734,
    "h": 323.2
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#5F1468
secondary
#449F39
accent
#EB3D50
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F1468

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

Preview Lab → · Contrast checker → · Palette generator →

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