#5F29B0#5F29B0

#5F29B0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.197 H 295.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5F29B0
RGBrgb(95, 41, 176)
HSLhsl(264, 62%, 43%)
HSVhsv(264, 77%, 69%)
CMYKcmyk(46%, 76.7%, 0%, 31%)
CIE-LABlab(32.15, 52.33, -62.27)
CIE-LCHlch(32.15, 81.34, 310.04°)
OKLaboklab(43.88% 0.0836 -0.1785)
OKLCHoklch(43.88% 0.197 295.1)
XYZxyz(13.3466, 7.1530, 41.7433)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F29B0 #7AB029
analogous
#2936B0 #5F29B0 #A229B0
triadic
#5F29B0 #B05F29 #29B05F
tetradic
#5F29B0 #B02936 #7AB029 #29B0A2
square
#5F29B0 #B02936 #7AB029 #29B0A2
split-complementary
#5F29B0 #B0A229 #36B029
monochromatic
#29124D #441D7E #5F29B0 #7D43D3 #9F75DF

Accessibility & contrast

On white

8.64
#5F29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5F29B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F29B0
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F29B0#FFFFFF#000000##FFFFFF
##5F29B01.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#484E6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5f29b0;
/* rgb */ color: rgb(95, 41, 176);
/* oklch */ color: oklch(43.9% 0.197 295.1);
Tailwind
colors: {
  custom: {
    50: '#9469c9',
    500: '#5f29b0',
    950: '#000000',
  },
}
SCSS
$custom: #5f29b0;
$custom-light: #9469c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f29b0",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 264,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43878,
    "c": 0.19708,
    "h": 295.1
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#5F29B0
secondary
#A3C66F
accent
#E543A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5F29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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