#53217C#53217C

#53217C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.147 H 305.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#53217C
RGBrgb(83, 33, 124)
HSLhsl(273, 58%, 31%)
HSVhsv(273, 73%, 49%)
CMYKcmyk(33.1%, 73.4%, 0%, 51.4%)
CIE-LABlab(24.90, 40.52, -42.23)
CIE-LCHlch(24.90, 58.53, 313.82°)
OKLaboklab(37.05% 0.0852 -0.12)
OKLCHoklch(37.05% 0.147 305.4)
XYZxyz(7.7484, 4.3820, 19.5025)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53217C #4A7C21
analogous
#25217C #53217C #7C2177
triadic
#53217C #7C5321 #217C53
tetradic
#53217C #7C2521 #4A7C21 #21777C
square
#53217C #7C2521 #4A7C21 #21777C
split-complementary
#53217C #777C21 #217C25
monochromatic
#12071B #33144C #53217C #732EAC #9249CF

Accessibility & contrast

On white

11.19
#53217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#53217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53217C
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53217C#FFFFFF#000000##FFFFFF
##53217C1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#4C364C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53217c;
/* rgb */ color: rgb(83, 33, 124);
/* oklch */ color: oklch(37.1% 0.147 305.4);
Tailwind
colors: {
  custom: {
    50: '#8761a3',
    500: '#53217c',
    950: '#000000',
  },
}
SCSS
$custom: #53217c;
$custom-light: #8761a3;
$custom-dark: #000000;
JSON
{
  "hex": "#53217c",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 272.967,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.14715,
    "h": 305.4
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#53217C
secondary
#77AF4A
accent
#E1478C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #53217C

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

Preview Lab → · Contrast checker → · Palette generator →

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