#5F2C69#5F2C69

#5F2C69 is a dark, moderate purple. Relative luminance 0.053; OKLCH L 38.9% C 0.114 H 320.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#5F2C69
RGBrgb(95, 44, 105)
HSLhsl(290, 41%, 29%)
HSVhsv(290, 58%, 41%)
CMYKcmyk(9.5%, 58.1%, 0%, 58.8%)
CIE-LABlab(27.45, 33.38, -25.90)
CIE-LCHlch(27.45, 42.26, 322.19°)
OKLaboklab(38.86% 0.0883 -0.0719)
OKLCHoklch(38.86% 0.114 320.8)
XYZxyz(8.1695, 5.2545, 13.9458)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2C69 #36692C
analogous
#412C69 #5F2C69 #692C55
triadic
#5F2C69 #695F2C #2C695F
tetradic
#5F2C69 #69412C #36692C #2C5569
square
#5F2C69 #69412C #36692C #2C5569
split-complementary
#5F2C69 #55692C #2C6941
monochromatic
#140916 #381A3E #5F2C69 #863E94 #A957B9

Accessibility & contrast

On white

10.24
#5F2C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5F2C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2C69
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2C69#FFFFFF#000000##FFFFFF
##5F2C691.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6B
Deuteranopia (green-blind)
#324367
Tritanopia (blue-blind)
#603546
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5f2c69;
/* rgb */ color: rgb(95, 44, 105);
/* oklch */ color: oklch(38.9% 0.114 320.8);
Tailwind
colors: {
  custom: {
    50: '#8e6894',
    500: '#5f2c69',
    950: '#000000',
  },
}
SCSS
$custom: #5f2c69;
$custom-light: #8e6894;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2c69",
  "rgb": {
    "r": 95,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 290.164,
    "s": 40.94,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3886,
    "c": 0.11384,
    "h": 320.8
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#5F2C69
secondary
#619B56
accent
#D1576B
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5F2C69

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

Preview Lab → · Contrast checker → · Palette generator →

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