#5C29A5#5C29A5

#5C29A5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.185 H 296.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#5C29A5
RGBrgb(92, 41, 165)
HSLhsl(265, 60%, 40%)
HSVhsv(265, 75%, 65%)
CMYKcmyk(44.2%, 75.2%, 0%, 35.3%)
CIE-LABlab(30.83, 48.97, -57.85)
CIE-LCHlch(30.83, 75.80, 310.25°)
OKLaboklab(42.57% 0.0819 -0.1656)
OKLCHoklch(42.57% 0.185 296.3)
XYZxyz(11.9963, 6.5775, 36.2276)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C29A5 #72A529
analogous
#2934A5 #5C29A5 #9A29A5
triadic
#5C29A5 #A55C29 #29A55C
tetradic
#5C29A5 #A52934 #72A529 #29A59A
square
#5C29A5 #A52934 #72A529 #29A59A
split-complementary
#5C29A5 #A59A29 #34A529
monochromatic
#251143 #411D74 #5C29A5 #793DCF #9B6EDB

Accessibility & contrast

On white

9.07
#5C29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5C29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C29A5
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C29A5#FFFFFF#000000##FFFFFF
##5C29A51.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#484A65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c29a5;
/* rgb */ color: rgb(92, 41, 165);
/* oklch */ color: oklch(42.6% 0.185 296.3);
Tailwind
colors: {
  custom: {
    50: '#9168c1',
    500: '#5c29a5',
    950: '#000000',
  },
}
SCSS
$custom: #5c29a5;
$custom-light: #9168c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c29a5",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 264.677,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.18479,
    "h": 296.3
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#5C29A5
secondary
#9DC268
accent
#E344A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5C29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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