#5F29B9#5F29B9

#5F29B9 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.207 H 293.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#5F29B9
RGBrgb(95, 41, 185)
HSLhsl(263, 64%, 44%)
HSVhsv(263, 78%, 73%)
CMYKcmyk(48.6%, 77.8%, 0%, 27.5%)
CIE-LABlab(32.96, 54.67, -66.29)
CIE-LCHlch(32.96, 85.92, 309.51°)
OKLaboklab(44.69% 0.081 -0.1903)
OKLCHoklch(44.69% 0.207 293.1)
XYZxyz(14.2668, 7.5211, 46.5895)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F29B9 #83B929
analogous
#293BB9 #5F29B9 #A729B9
triadic
#5F29B9 #B95F29 #29B95F
tetradic
#5F29B9 #B9293B #83B929 #29B9A7
square
#5F29B9 #B9293B #83B929 #29B9A7
split-complementary
#5F29B9 #B9A729 #3BB929
monochromatic
#2C1355 #451E87 #5F29B9 #7E49D7 #A17BE2

Accessibility & contrast

On white

8.39
#5F29B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5F29B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F29B9
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F29B9#FFFFFF#000000##FFFFFF
##5F29B91.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#425170
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5f29b9;
/* rgb */ color: rgb(95, 41, 185);
/* oklch */ color: oklch(44.7% 0.207 293.1);
Tailwind
colors: {
  custom: {
    50: '#9569cf',
    500: '#5f29b9',
    950: '#000000',
  },
}
SCSS
$custom: #5f29b9;
$custom-light: #9569cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f29b9",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 262.5,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44693,
    "c": 0.2068,
    "h": 293.1
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#5F29B9
secondary
#AACA74
accent
#E741A9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5F29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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