#5229A9#5229A9

#5229A9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.189 H 290.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#5229A9
RGBrgb(82, 41, 169)
HSLhsl(259, 61%, 41%)
HSVhsv(259, 76%, 66%)
CMYKcmyk(51.5%, 75.7%, 0%, 33.7%)
CIE-LABlab(30.02, 48.45, -61.63)
CIE-LCHlch(30.02, 78.39, 308.17°)
OKLaboklab(41.85% 0.0658 -0.1771)
OKLCHoklch(41.85% 0.189 290.4)
XYZxyz(11.4320, 6.2438, 38.1312)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5229A9 #80A929
analogous
#2940A9 #5229A9 #9229A9
triadic
#5229A9 #A95229 #29A952
tetradic
#5229A9 #A92940 #80A929 #29A992
square
#5229A9 #A92940 #80A929 #29A992
split-complementary
#5229A9 #A99229 #40A929
monochromatic
#221146 #3A1D78 #5229A9 #6D3FD0 #9370DC

Accessibility & contrast

On white

9.34
#5229A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5229A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5229A9
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5229A9#FFFFFF#000000##FFFFFF
##5229A91.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#334C67
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5229a9;
/* rgb */ color: rgb(82, 41, 169);
/* oklch */ color: oklch(41.8% 0.189 290.4);
Tailwind
colors: {
  custom: {
    50: '#8c67c4',
    500: '#5229a9',
    950: '#000000',
  },
}
SCSS
$custom: #5229a9;
$custom-light: #8c67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5229a9",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 259.219,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.18889,
    "h": 290.4
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#5229A9
secondary
#A7C36A
accent
#E444B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5229A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5229A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva