#5F29AC#5F29AC

#5F29AC is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.193 H 296.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#5F29AC
RGBrgb(95, 41, 172)
HSLhsl(265, 62%, 42%)
HSVhsv(265, 76%, 67%)
CMYKcmyk(44.8%, 76.2%, 0%, 32.5%)
CIE-LABlab(31.80, 51.29, -60.45)
CIE-LCHlch(31.80, 79.28, 310.31°)
OKLaboklab(43.52% 0.0847 -0.1732)
OKLCHoklch(43.52% 0.193 296.1)
XYZxyz(12.9567, 6.9970, 39.6896)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F29AC #76AC29
analogous
#2935AC #5F29AC #A129AC
triadic
#5F29AC #AC5F29 #29AC5F
tetradic
#5F29AC #AC2935 #76AC29 #29ACA1
square
#5F29AC #AC2935 #76AC29 #29ACA1
split-complementary
#5F29AC #ACA129 #35AC29
monochromatic
#281149 #441D7B #5F29AC #7C41D2 #9E72DD

Accessibility & contrast

On white

8.75
#5F29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5F29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F29AC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F29AC#FFFFFF#000000##FFFFFF
##5F29AC1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#4A4C69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5f29ac;
/* rgb */ color: rgb(95, 41, 172);
/* oklch */ color: oklch(43.5% 0.193 296.1);
Tailwind
colors: {
  custom: {
    50: '#9469c6',
    500: '#5f29ac',
    950: '#000000',
  },
}
SCSS
$custom: #5f29ac;
$custom-light: #9469c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f29ac",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 264.733,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.19275,
    "h": 296.1
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#5F29AC
secondary
#A0C56C
accent
#E543A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5F29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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