#53218E#53218E

#53218E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.167 H 299.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#53218E
RGBrgb(83, 33, 142)
HSLhsl(268, 62%, 34%)
HSVhsv(268, 77%, 56%)
CMYKcmyk(41.5%, 76.8%, 0%, 44.3%)
CIE-LABlab(26.39, 45.12, -51.08)
CIE-LCHlch(26.39, 68.16, 311.46°)
OKLaboklab(38.58% 0.0814 -0.146)
OKLCHoklch(38.58% 0.167 299.1)
XYZxyz(8.9924, 4.8796, 26.0540)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53218E #5C8E21
analogous
#21258E #53218E #8A218E
triadic
#53218E #8E5321 #218E53
tetradic
#53218E #8E2125 #5C8E21 #218E8A
square
#53218E #8E2125 #5C8E21 #218E8A
split-complementary
#53218E #8E8A21 #258E21
monochromatic
#190A2B #36155C #53218E #702DC0 #8F52D7

Accessibility & contrast

On white

10.63
#53218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#53218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53218E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53218E#FFFFFF#000000##FFFFFF
##53218E1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#453D56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #53218e;
/* rgb */ color: rgb(83, 33, 142);
/* oklch */ color: oklch(38.6% 0.167 299.1);
Tailwind
colors: {
  custom: {
    50: '#8962b0',
    500: '#53218e',
    950: '#000000',
  },
}
SCSS
$custom: #53218e;
$custom-light: #8962b0;
$custom-dark: #000000;
JSON
{
  "hex": "#53218e",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 267.523,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38576,
    "c": 0.16714,
    "h": 299.1
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#53218E
secondary
#8ABA50
accent
#E5429B
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #53218E

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

Preview Lab → · Contrast checker → · Palette generator →

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