#5F2B69#5F2B69

#5F2B69 is a dark, moderate purple. Relative luminance 0.052; OKLCH L 38.7% C 0.116 H 320.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#5F2B69
RGBrgb(95, 43, 105)
HSLhsl(290, 42%, 29%)
HSVhsv(290, 59%, 41%)
CMYKcmyk(9.5%, 59%, 0%, 58.8%)
CIE-LABlab(27.24, 33.93, -26.23)
CIE-LCHlch(27.24, 42.89, 322.30°)
OKLaboklab(38.71% 0.0897 -0.0728)
OKLCHoklch(38.71% 0.116 320.9)
XYZxyz(8.1327, 5.1809, 13.9335)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2B69 #35692B
analogous
#402B69 #5F2B69 #692B54
triadic
#5F2B69 #695F2B #2B695F
tetradic
#5F2B69 #69402B #35692B #2B5469
square
#5F2B69 #69402B #35692B #2B5469
split-complementary
#5F2B69 #54692B #2B6940
monochromatic
#140916 #38193E #5F2B69 #863D94 #A955B9

Accessibility & contrast

On white

10.31
#5F2B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5F2B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2B69
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2B69#FFFFFF#000000##FFFFFF
##5F2B691.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3D6B
Deuteranopia (green-blind)
#314267
Tritanopia (blue-blind)
#603445
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5f2b69;
/* rgb */ color: rgb(95, 43, 105);
/* oklch */ color: oklch(38.7% 0.116 320.9);
Tailwind
colors: {
  custom: {
    50: '#8e6794',
    500: '#5f2b69',
    950: '#000000',
  },
}
SCSS
$custom: #5f2b69;
$custom-light: #8e6794;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2b69",
  "rgb": {
    "r": 95,
    "g": 43,
    "b": 105
  },
  "hsl": {
    "h": 290.323,
    "s": 41.892,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3871,
    "c": 0.11557,
    "h": 320.9
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#5F2B69
secondary
#609B55
accent
#D2566A
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5F2B69

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

Preview Lab → · Contrast checker → · Palette generator →

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