#5229A3#5229A3

#5229A3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.182 H 291.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5229A3
RGBrgb(82, 41, 163)
HSLhsl(260, 60%, 40%)
HSVhsv(260, 75%, 64%)
CMYKcmyk(49.7%, 74.8%, 0%, 36.1%)
CIE-LABlab(29.47, 46.78, -58.91)
CIE-LCHlch(29.47, 75.22, 308.46°)
OKLaboklab(41.29% 0.0674 -0.1691)
OKLCHoklch(41.29% 0.182 291.7)
XYZxyz(10.8816, 6.0237, 35.2326)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5229A3 #7AA329
analogous
#293DA3 #5229A3 #8F29A3
triadic
#5229A3 #A35229 #29A352
tetradic
#5229A3 #A3293D #7AA329 #29A38F
square
#5229A3 #A3293D #7AA329 #29A38F
split-complementary
#5229A3 #A38F29 #3DA329
monochromatic
#211041 #391D72 #5229A3 #6D3BCE #916CDA

Accessibility & contrast

On white

9.52
#5229A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5229A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5229A3
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5229A3#FFFFFF#000000##FFFFFF
##5229A31.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#374A64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5229a3;
/* rgb */ color: rgb(82, 41, 163);
/* oklch */ color: oklch(41.3% 0.182 291.7);
Tailwind
colors: {
  custom: {
    50: '#8b67bf',
    500: '#5229a3',
    950: '#000000',
  },
}
SCSS
$custom: #5229a3;
$custom-light: #8b67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5229a3",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 260.164,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.41292,
    "c": 0.18199,
    "h": 291.7
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#5229A3
secondary
#A3C167
accent
#E345AE
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5229A3

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

Preview Lab → · Contrast checker → · Palette generator →

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