#5233A8#5233A8

#5233A8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.176 H 288.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#5233A8
RGBrgb(82, 51, 168)
HSLhsl(256, 53%, 43%)
HSVhsv(256, 70%, 66%)
CMYKcmyk(51.2%, 69.6%, 0%, 34.1%)
CIE-LABlab(31.78, 42.98, -58.15)
CIE-LCHlch(31.78, 72.31, 306.47°)
OKLaboklab(43.07% 0.0572 -0.1669)
OKLCHoklch(43.07% 0.176 288.9)
XYZxyz(11.7293, 6.9881, 37.7690)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233A8 #89A833
analogous
#334FA8 #5233A8 #8C33A8
triadic
#5233A8 #A85233 #33A852
tetradic
#5233A8 #A8334F #89A833 #33A88C
square
#5233A8 #A8334F #89A833 #33A88C
split-complementary
#5233A8 #A88C33 #4FA833
monochromatic
#24164A #3B2579 #5233A8 #6F4FC9 #967ED8

Accessibility & contrast

On white

8.76
#5233A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5233A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5233A8#FFFFFF#000000##FFFFFF
##5233A81.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#335169
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5233a8;
/* rgb */ color: rgb(82, 51, 168);
/* oklch */ color: oklch(43.1% 0.176 288.9);
Tailwind
colors: {
  custom: {
    50: '#8b6dc3',
    500: '#5233a8',
    950: '#000000',
  },
}
SCSS
$custom: #5233a8;
$custom-light: #8b6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#5233a8",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 255.897,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.17643,
    "h": 288.9
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#5233A8
secondary
#ADC176
accent
#DD4BB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5233A8

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

Preview Lab → · Contrast checker → · Palette generator →

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