#53227E#53227E

#53227E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.148 H 304.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#53227E
RGBrgb(83, 34, 126)
HSLhsl(272, 58%, 31%)
HSVhsv(272, 73%, 49%)
CMYKcmyk(34.1%, 73%, 0%, 50.6%)
CIE-LABlab(25.23, 40.54, -42.96)
CIE-LCHlch(25.23, 59.07, 313.34°)
OKLaboklab(37.34% 0.0837 -0.1221)
OKLCHoklch(37.34% 0.148 304.4)
XYZxyz(7.9043, 4.4894, 20.1847)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53227E #4D7E22
analogous
#25227E #53227E #7E227B
triadic
#53227E #7E5322 #227E53
tetradic
#53227E #7E2522 #4D7E22 #227B7E
square
#53227E #7E2522 #4D7E22 #227B7E
split-complementary
#53227E #7B7E22 #227E25
monochromatic
#14081E #33154E #53227E #732FAE #914CCF

Accessibility & contrast

On white

11.07
#53227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#53227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53227E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53227E#FFFFFF#000000##FFFFFF
##53227E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#4B384D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #53227e;
/* rgb */ color: rgb(83, 34, 126);
/* oklch */ color: oklch(37.3% 0.148 304.4);
Tailwind
colors: {
  custom: {
    50: '#8862a4',
    500: '#53227e',
    950: '#000000',
  },
}
SCSS
$custom: #53227e;
$custom-light: #8862a4;
$custom-dark: #000000;
JSON
{
  "hex": "#53227e",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 271.957,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37339,
    "c": 0.14809,
    "h": 304.4
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#53227E
secondary
#7BB14B
accent
#E1478F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #53227E

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

Preview Lab → · Contrast checker → · Palette generator →

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