#5233AD#5233AD

#5233AD is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.183 H 288.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5233AD
RGBrgb(82, 51, 173)
HSLhsl(255, 54%, 44%)
HSVhsv(255, 71%, 68%)
CMYKcmyk(52.6%, 70.5%, 0%, 32.2%)
CIE-LABlab(32.21, 44.45, -60.44)
CIE-LCHlch(32.21, 75.03, 306.33°)
OKLaboklab(43.51% 0.0563 -0.1736)
OKLCHoklch(43.51% 0.183 288)
XYZxyz(12.2041, 7.1780, 40.2695)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233AD #8EAD33
analogous
#3351AD #5233AD #8F33AD
triadic
#5233AD #AD5233 #33AD52
tetradic
#5233AD #AD3351 #8EAD33 #33AD8F
square
#5233AD #AD3351 #8EAD33 #33AD8F
split-complementary
#5233AD #AD8F33 #51AD33
monochromatic
#25174E #3C257E #5233AD #7051CC #9781DA

Accessibility & contrast

On white

8.62
#5233AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5233AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233AD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233AD#FFFFFF#000000##FFFFFF
##5233AD1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#2F536C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5233ad;
/* rgb */ color: rgb(82, 51, 173);
/* oklch */ color: oklch(43.5% 0.183 288.0);
Tailwind
colors: {
  custom: {
    50: '#8c6dc6',
    500: '#5233ad',
    950: '#000000',
  },
}
SCSS
$custom: #5233ad;
$custom-light: #8c6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5233ad",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 255.246,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.18253,
    "h": 288
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5233AD

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

Preview Lab → · Contrast checker → · Palette generator →

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