#53218C#53218C

#53218C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.165 H 299.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#53218C
RGBrgb(83, 33, 140)
HSLhsl(268, 62%, 34%)
HSVhsv(268, 76%, 55%)
CMYKcmyk(40.7%, 76.4%, 0%, 45.1%)
CIE-LABlab(26.22, 44.60, -50.12)
CIE-LCHlch(26.22, 67.09, 311.67°)
OKLaboklab(38.4% 0.0818 -0.1432)
OKLCHoklch(38.4% 0.165 299.8)
XYZxyz(8.8436, 4.8201, 25.2703)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53218C #5A8C21
analogous
#21258C #53218C #89218C
triadic
#53218C #8C5321 #218C53
tetradic
#53218C #8C2125 #5A8C21 #218C89
square
#53218C #8C2125 #5A8C21 #218C89
split-complementary
#53218C #8C8921 #258C21
monochromatic
#180A29 #36155A #53218C #702DBE #8F51D6

Accessibility & contrast

On white

10.69
#53218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53218C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53218C#FFFFFF#000000##FFFFFF
##53218C1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#463D55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #53218c;
/* rgb */ color: rgb(83, 33, 140);
/* oklch */ color: oklch(38.4% 0.165 299.8);
Tailwind
colors: {
  custom: {
    50: '#8962ae',
    500: '#53218c',
    950: '#000000',
  },
}
SCSS
$custom: #53218c;
$custom-light: #8962ae;
$custom-dark: #000000;
JSON
{
  "hex": "#53218c",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 268.037,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.384,
    "c": 0.16493,
    "h": 299.8
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#53218C
secondary
#88B94F
accent
#E54399
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #53218C

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

Preview Lab → · Contrast checker → · Palette generator →

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