#5F2467#5F2467

#5F2467 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.6% C 0.125 H 322.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#5F2467
RGBrgb(95, 36, 103)
HSLhsl(293, 48%, 27%)
HSVhsv(293, 65%, 40%)
CMYKcmyk(7.8%, 65%, 0%, 59.6%)
CIE-LABlab(25.79, 37.15, -27.24)
CIE-LCHlch(25.79, 46.07, 323.75°)
OKLaboklab(37.61% 0.0995 -0.0757)
OKLCHoklch(37.61% 0.125 322.7)
XYZxyz(7.7981, 4.6743, 13.3208)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2467 #2C6724
analogous
#3E2467 #5F2467 #67244E
triadic
#5F2467 #675F24 #24675F
tetradic
#5F2467 #673E24 #2C6724 #244E67
square
#5F2467 #673E24 #2C6724 #244E67
split-complementary
#5F2467 #4E6724 #24673E
monochromatic
#150817 #35143A #5F2467 #893494 #B047BF

Accessibility & contrast

On white

10.85
#5F2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5F2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2467
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2467#FFFFFF#000000##FFFFFF
##5F24671.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163969
Deuteranopia (green-blind)
#2D3F65
Tritanopia (blue-blind)
#602E42
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5f2467;
/* rgb */ color: rgb(95, 36, 103);
/* oklch */ color: oklch(37.6% 0.125 322.7);
Tailwind
colors: {
  custom: {
    50: '#8f6393',
    500: '#5f2467',
    950: '#000000',
  },
}
SCSS
$custom: #5f2467;
$custom-light: #8f6393;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2467",
  "rgb": {
    "r": 95,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 292.836,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37609,
    "c": 0.12504,
    "h": 322.7
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#5F2467
secondary
#569A4C
accent
#D85060
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0D050D
muted
#7D7A7E

Preview Lab

Preview with #5F2467

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

Preview Lab → · Contrast checker → · Palette generator →

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