#5233AE#5233AE

#5233AE is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.184 H 287.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#5233AE
RGBrgb(82, 51, 174)
HSLhsl(255, 55%, 44%)
HSVhsv(255, 71%, 68%)
CMYKcmyk(52.9%, 70.7%, 0%, 31.8%)
CIE-LABlab(32.30, 44.74, -60.90)
CIE-LCHlch(32.30, 75.57, 306.31°)
OKLaboklab(43.59% 0.0561 -0.175)
OKLCHoklch(43.59% 0.184 287.8)
XYZxyz(12.3012, 7.2169, 40.7810)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233AE #8FAE33
analogous
#3352AE #5233AE #9033AE
triadic
#5233AE #AE5233 #33AE52
tetradic
#5233AE #AE3352 #8FAE33 #33AE90
square
#5233AE #AE3352 #8FAE33 #33AE90
split-complementary
#5233AE #AE9033 #52AE33
monochromatic
#25174F #3C257F #5233AE #7152CC #9881DA

Accessibility & contrast

On white

8.59
#5233AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5233AE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233AE#FFFFFF#000000##FFFFFF
##5233AE1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#2E536D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5233ae;
/* rgb */ color: rgb(82, 51, 174);
/* oklch */ color: oklch(43.6% 0.184 287.8);
Tailwind
colors: {
  custom: {
    50: '#8c6dc7',
    500: '#5233ae',
    950: '#000000',
  },
}
SCSS
$custom: #5233ae;
$custom-light: #8c6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5233ae",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 255.122,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43593,
    "c": 0.18374,
    "h": 287.8
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#5233AE
secondary
#B1C379
accent
#DE4AB9
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5233AE

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

Preview Lab → · Contrast checker → · Palette generator →

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