#53218B#53218B

#53218B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.164 H 300.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#53218B
RGBrgb(83, 33, 139)
HSLhsl(268, 62%, 34%)
HSVhsv(268, 76%, 55%)
CMYKcmyk(40.3%, 76.3%, 0%, 45.5%)
CIE-LABlab(26.13, 44.35, -49.64)
CIE-LCHlch(26.13, 66.56, 311.78°)
OKLaboklab(38.31% 0.0821 -0.1418)
OKLCHoklch(38.31% 0.164 300.1)
XYZxyz(8.7702, 4.7907, 24.8837)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53218B #598B21
analogous
#21248B #53218B #88218B
triadic
#53218B #8B5321 #218B53
tetradic
#53218B #8B2124 #598B21 #218B88
square
#53218B #8B2124 #598B21 #218B88
split-complementary
#53218B #8B8821 #248B21
monochromatic
#180A28 #35155A #53218B #712DBC #8F51D6

Accessibility & contrast

On white

10.72
#53218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#53218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53218B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53218B#FFFFFF#000000##FFFFFF
##53218B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#463C54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #53218b;
/* rgb */ color: rgb(83, 33, 139);
/* oklch */ color: oklch(38.3% 0.164 300.1);
Tailwind
colors: {
  custom: {
    50: '#8962ae',
    500: '#53218b',
    950: '#000000',
  },
}
SCSS
$custom: #53218b;
$custom-light: #8962ae;
$custom-dark: #000000;
JSON
{
  "hex": "#53218b",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 268.302,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.16383,
    "h": 300.1
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#53218B
secondary
#87B94F
accent
#E54398
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #53218B

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

Preview Lab → · Contrast checker → · Palette generator →

#53218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva