#53227D#53227D

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

Color values

HEX#53227D
RGBrgb(83, 34, 125)
HSLhsl(272, 57%, 31%)
HSVhsv(272, 73%, 49%)
CMYKcmyk(33.6%, 72.8%, 0%, 51%)
CIE-LABlab(25.15, 40.29, -42.45)
CIE-LCHlch(25.15, 58.52, 313.50°)
OKLaboklab(37.26% 0.0839 -0.1207)
OKLCHoklch(37.26% 0.147 304.8)
XYZxyz(7.8401, 4.4638, 19.8466)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53227D #4C7D22
analogous
#25227D #53227D #7D2279
triadic
#53227D #7D5322 #227D53
tetradic
#53227D #7D2522 #4C7D22 #22797D
square
#53227D #7D2522 #4C7D22 #22797D
split-complementary
#53227D #797D22 #227D25
monochromatic
#13081D #33154D #53227D #732FAD #924BCE

Accessibility & contrast

On white

11.09
#53227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#53227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53227D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53227D#FFFFFF#000000##FFFFFF
##53227D1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#4B374D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #53227d;
/* rgb */ color: rgb(83, 34, 125);
/* oklch */ color: oklch(37.3% 0.147 304.8);
Tailwind
colors: {
  custom: {
    50: '#8762a3',
    500: '#53227d',
    950: '#000000',
  },
}
SCSS
$custom: #53227d;
$custom-light: #8762a3;
$custom-dark: #000000;
JSON
{
  "hex": "#53227d",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 272.308,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37259,
    "c": 0.14697,
    "h": 304.8
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#53227D
secondary
#7AB04B
accent
#E0478E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #53227D

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

Preview Lab → · Contrast checker → · Palette generator →

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