#5C29B0#5C29B0

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

Color values

HEX#5C29B0
RGBrgb(92, 41, 176)
HSLhsl(263, 62%, 43%)
HSVhsv(263, 77%, 69%)
CMYKcmyk(47.7%, 76.7%, 0%, 31%)
CIE-LABlab(31.80, 51.87, -62.87)
CIE-LCHlch(31.80, 81.50, 309.52°)
OKLaboklab(43.55% 0.0791 -0.1803)
OKLCHoklch(43.55% 0.197 293.7)
XYZxyz(13.0409, 6.9954, 41.7290)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29B0 #7DB029
analogous
#2939B0 #5C29B0 #A029B0
triadic
#5C29B0 #B05C29 #29B05C
tetradic
#5C29B0 #B02939 #7DB029 #29B0A0
square
#5C29B0 #B02939 #7DB029 #29B0A0
split-complementary
#5C29B0 #B0A029 #39B029
monochromatic
#28124D #421D7E #5C29B0 #7943D3 #9D75DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C29B0#FFFFFF#000000##FFFFFF
##5C29B01.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)
#004CB4
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#424E6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c29b0;
/* rgb */ color: rgb(92, 41, 176);
/* oklch */ color: oklch(43.5% 0.197 293.7);
Tailwind
colors: {
  custom: {
    50: '#9369c9',
    500: '#5c29b0',
    950: '#000000',
  },
}
SCSS
$custom: #5c29b0;
$custom-light: #9369c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29b0",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 262.667,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.19691,
    "h": 293.7
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#5C29B0
secondary
#A5C66F
accent
#E543A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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