#5F29AE#5F29AE

#5F29AE is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.195 H 295.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#5F29AE
RGBrgb(95, 41, 174)
HSLhsl(264, 62%, 42%)
HSVhsv(264, 76%, 68%)
CMYKcmyk(45.4%, 76.4%, 0%, 31.8%)
CIE-LABlab(31.98, 51.81, -61.36)
CIE-LCHlch(31.98, 80.31, 310.18°)
OKLaboklab(43.7% 0.0841 -0.1758)
OKLCHoklch(43.7% 0.195 295.6)
XYZxyz(13.1502, 7.0744, 40.7088)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F29AE #78AE29
analogous
#2936AE #5F29AE #A229AE
triadic
#5F29AE #AE5F29 #29AE5F
tetradic
#5F29AE #AE2936 #78AE29 #29AEA2
square
#5F29AE #AE2936 #78AE29 #29AEA2
split-complementary
#5F29AE #AEA229 #36AE29
monochromatic
#29124B #441D7C #5F29AE #7D42D2 #9F73DE

Accessibility & contrast

On white

8.70
#5F29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5F29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F29AE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F29AE#FFFFFF#000000##FFFFFF
##5F29AE1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#494D6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5f29ae;
/* rgb */ color: rgb(95, 41, 174);
/* oklch */ color: oklch(43.7% 0.195 295.6);
Tailwind
colors: {
  custom: {
    50: '#9469c7',
    500: '#5f29ae',
    950: '#000000',
  },
}
SCSS
$custom: #5f29ae;
$custom-light: #9469c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f29ae",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 264.361,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.19492,
    "h": 295.6
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#5F29AE
secondary
#A2C56D
accent
#E543A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5F29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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