#53227C#53227C

#53227C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.146 H 305.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#53227C
RGBrgb(83, 34, 124)
HSLhsl(273, 57%, 31%)
HSVhsv(273, 73%, 49%)
CMYKcmyk(33.1%, 72.6%, 0%, 51.4%)
CIE-LABlab(25.07, 40.04, -41.95)
CIE-LCHlch(25.07, 57.99, 313.67°)
OKLaboklab(37.18% 0.0841 -0.1192)
OKLCHoklch(37.18% 0.146 305.2)
XYZxyz(7.7766, 4.4383, 19.5119)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53227C #4B7C22
analogous
#26227C #53227C #7C2278
triadic
#53227C #7C5322 #227C53
tetradic
#53227C #7C2622 #4B7C22 #22787C
square
#53227C #7C2622 #4B7C22 #22787C
split-complementary
#53227C #787C22 #227C26
monochromatic
#13081C #33154C #53227C #732FAC #924BCE

Accessibility & contrast

On white

11.13
#53227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53227C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53227C#FFFFFF#000000##FFFFFF
##53227C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #53227c;
/* rgb */ color: rgb(83, 34, 124);
/* oklch */ color: oklch(37.2% 0.146 305.2);
Tailwind
colors: {
  custom: {
    50: '#8761a3',
    500: '#53227c',
    950: '#000000',
  },
}
SCSS
$custom: #53227c;
$custom-light: #8761a3;
$custom-dark: #000000;
JSON
{
  "hex": "#53227c",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 272.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37178,
    "c": 0.14584,
    "h": 305.2
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

primary
#53227C
secondary
#78AF4B
accent
#E0488D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #53227C

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

Preview Lab → · Contrast checker → · Palette generator →

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