#5229AE#5229AE

#5229AE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.195 H 289.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#5229AE
RGBrgb(82, 41, 174)
HSLhsl(258, 62%, 42%)
HSVhsv(258, 76%, 68%)
CMYKcmyk(52.9%, 76.4%, 0%, 31.8%)
CIE-LABlab(30.48, 49.84, -63.87)
CIE-LCHlch(30.48, 81.01, 307.97°)
OKLaboklab(42.31% 0.0645 -0.1836)
OKLCHoklch(42.31% 0.195 289.3)
XYZxyz(11.9104, 6.4352, 40.6507)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5229AE #85AE29
analogous
#2943AE #5229AE #9429AE
triadic
#5229AE #AE5229 #29AE52
tetradic
#5229AE #AE2943 #85AE29 #29AE94
square
#5229AE #AE2943 #85AE29 #29AE94
split-complementary
#5229AE #AE9429 #43AE29
monochromatic
#23124B #3B1D7C #5229AE #6E42D2 #9473DE

Accessibility & contrast

On white

9.18
#5229AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5229AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5229AE
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5229AE#FFFFFF#000000##FFFFFF
##5229AE1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#2F4E6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5229ae;
/* rgb */ color: rgb(82, 41, 174);
/* oklch */ color: oklch(42.3% 0.195 289.3);
Tailwind
colors: {
  custom: {
    50: '#8c68c7',
    500: '#5229ae',
    950: '#000000',
  },
}
SCSS
$custom: #5229ae;
$custom-light: #8c68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5229ae",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 258.496,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.19459,
    "h": 289.3
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#5229AE
secondary
#AAC56D
accent
#E543B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5229AE

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

Preview Lab → · Contrast checker → · Palette generator →

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