#53227B#53227B

#53227B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.145 H 305.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#53227B
RGBrgb(83, 34, 123)
HSLhsl(273, 57%, 31%)
HSVhsv(273, 72%, 48%)
CMYKcmyk(32.5%, 72.4%, 0%, 51.8%)
CIE-LABlab(24.99, 39.78, -41.44)
CIE-LCHlch(24.99, 57.44, 313.83°)
OKLaboklab(37.1% 0.0842 -0.1177)
OKLCHoklch(37.1% 0.145 305.6)
XYZxyz(7.7137, 4.4132, 19.1805)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53227B #4A7B22
analogous
#26227B #53227B #7B2276
triadic
#53227B #7B5322 #227B53
tetradic
#53227B #7B2622 #4A7B22 #22767B
square
#53227B #7B2622 #4A7B22 #22767B
split-complementary
#53227B #767B22 #227B26
monochromatic
#12071B #33154B #53227B #732FAB #924ACD

Accessibility & contrast

On white

11.15
#53227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#53227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53227B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53227B#FFFFFF#000000##FFFFFF
##53227B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#013B79
Tritanopia (blue-blind)
#4C364C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53227b;
/* rgb */ color: rgb(83, 34, 123);
/* oklch */ color: oklch(37.1% 0.145 305.6);
Tailwind
colors: {
  custom: {
    50: '#8761a2',
    500: '#53227b',
    950: '#000000',
  },
}
SCSS
$custom: #53227b;
$custom-light: #8761a2;
$custom-dark: #000000;
JSON
{
  "hex": "#53227b",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 273.034,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37098,
    "c": 0.14471,
    "h": 305.6
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#53227B
secondary
#77AE4B
accent
#E0488C
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #53227B

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

Preview Lab → · Contrast checker → · Palette generator →

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