#53228E#53228E

#53228E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.166 H 299.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#53228E
RGBrgb(83, 34, 142)
HSLhsl(267, 61%, 35%)
HSVhsv(267, 76%, 56%)
CMYKcmyk(41.5%, 76.1%, 0%, 44.3%)
CIE-LABlab(26.55, 44.66, -50.82)
CIE-LCHlch(26.55, 67.65, 311.31°)
OKLaboklab(38.69% 0.0804 -0.1452)
OKLCHoklch(38.69% 0.166 299)
XYZxyz(9.0206, 4.9359, 26.0634)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53228E #5D8E22
analogous
#22278E #53228E #89228E
triadic
#53228E #8E5322 #228E53
tetradic
#53228E #8E2227 #5D8E22 #228E89
square
#53228E #8E2227 #5D8E22 #228E89
split-complementary
#53228E #8E8922 #278E22
monochromatic
#190A2B #36165D #53228E #702EBF #8F54D6

Accessibility & contrast

On white

10.57
#53228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#53228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53228E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53228E#FFFFFF#000000##FFFFFF
##53228E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#453E56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #53228e;
/* rgb */ color: rgb(83, 34, 142);
/* oklch */ color: oklch(38.7% 0.166 299.0);
Tailwind
colors: {
  custom: {
    50: '#8962b0',
    500: '#53228e',
    950: '#000000',
  },
}
SCSS
$custom: #53228e;
$custom-light: #8962b0;
$custom-dark: #000000;
JSON
{
  "hex": "#53228e",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 267.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3869,
    "c": 0.16601,
    "h": 299
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#53228E
secondary
#8BBA52
accent
#E4439B
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #53228E

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

Preview Lab → · Contrast checker → · Palette generator →

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