#5233AA#5233AA

#5233AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.179 H 288.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#5233AA
RGBrgb(82, 51, 170)
HSLhsl(256, 54%, 43%)
HSVhsv(256, 70%, 67%)
CMYKcmyk(51.8%, 70%, 0%, 33.3%)
CIE-LABlab(31.95, 43.57, -59.07)
CIE-LCHlch(31.95, 73.40, 306.41°)
OKLaboklab(43.24% 0.0569 -0.1696)
OKLCHoklch(43.24% 0.179 288.5)
XYZxyz(11.9171, 7.0632, 38.7578)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233AA #8BAA33
analogous
#334FAA #5233AA #8D33AA
triadic
#5233AA #AA5233 #33AA52
tetradic
#5233AA #AA334F #8BAA33 #33AA8D
square
#5233AA #AA334F #8BAA33 #33AA8D
split-complementary
#5233AA #AA8D33 #4FAA33
monochromatic
#25174C #3B257B #5233AA #7050CA #967FD9

Accessibility & contrast

On white

8.70
#5233AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5233AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5233AA#FFFFFF#000000##FFFFFF
##5233AA1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#32526A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5233aa;
/* rgb */ color: rgb(82, 51, 170);
/* oklch */ color: oklch(43.2% 0.179 288.5);
Tailwind
colors: {
  custom: {
    50: '#8b6dc4',
    500: '#5233aa',
    950: '#000000',
  },
}
SCSS
$custom: #5233aa;
$custom-light: #8b6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5233aa",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 255.63,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4324,
    "c": 0.17887,
    "h": 288.5
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#5233AA
secondary
#AEC277
accent
#DD4BB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5233AA

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

Preview Lab → · Contrast checker → · Palette generator →

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