#5233AC#5233AC

#5233AC is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.181 H 288.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#5233AC
RGBrgb(82, 51, 172)
HSLhsl(255, 54%, 44%)
HSVhsv(255, 70%, 67%)
CMYKcmyk(52.3%, 70.3%, 0%, 32.5%)
CIE-LABlab(32.12, 44.16, -59.99)
CIE-LCHlch(32.12, 74.49, 306.36°)
OKLaboklab(43.42% 0.0565 -0.1723)
OKLCHoklch(43.42% 0.181 288.2)
XYZxyz(12.1077, 7.1395, 39.7618)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233AC #8DAC33
analogous
#3350AC #5233AC #8E33AC
triadic
#5233AC #AC5233 #33AC52
tetradic
#5233AC #AC3350 #8DAC33 #33AC8E
square
#5233AC #AC3350 #8DAC33 #33AC8E
split-complementary
#5233AC #AC8E33 #50AC33
monochromatic
#25174E #3B257D #5233AC #7051CB #9780D9

Accessibility & contrast

On white

8.65
#5233AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5233AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233AC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233AC#FFFFFF#000000##FFFFFF
##5233AC1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#30526C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5233ac;
/* rgb */ color: rgb(82, 51, 172);
/* oklch */ color: oklch(43.4% 0.181 288.2);
Tailwind
colors: {
  custom: {
    50: '#8b6dc6',
    500: '#5233ac',
    950: '#000000',
  },
}
SCSS
$custom: #5233ac;
$custom-light: #8b6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5233ac",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 255.372,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43416,
    "c": 0.18131,
    "h": 288.2
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#5233AC
secondary
#AFC278
accent
#DE4AB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5233AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5233AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva