#53228B#53228B

#53228B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.163 H 299.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#53228B
RGBrgb(83, 34, 139)
HSLhsl(268, 61%, 34%)
HSVhsv(268, 76%, 55%)
CMYKcmyk(40.3%, 75.5%, 0%, 45.5%)
CIE-LABlab(26.29, 43.88, -49.37)
CIE-LCHlch(26.29, 66.05, 311.63°)
OKLaboklab(38.43% 0.0811 -0.141)
OKLCHoklch(38.43% 0.163 299.9)
XYZxyz(8.7983, 4.8470, 24.8931)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53228B #5A8B22
analogous
#22268B #53228B #88228B
triadic
#53228B #8B5322 #228B53
tetradic
#53228B #8B2226 #5A8B22 #228B88
square
#53228B #8B2226 #5A8B22 #228B88
split-complementary
#53228B #8B8822 #268B22
monochromatic
#180A29 #36165A #53228B #702EBC #8F53D5

Accessibility & contrast

On white

10.66
#53228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#53228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53228B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53228B#FFFFFF#000000##FFFFFF
##53228B1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#463D55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #53228b;
/* rgb */ color: rgb(83, 34, 139);
/* oklch */ color: oklch(38.4% 0.163 299.9);
Tailwind
colors: {
  custom: {
    50: '#8962ae',
    500: '#53228b',
    950: '#000000',
  },
}
SCSS
$custom: #53228b;
$custom-light: #8962ae;
$custom-dark: #000000;
JSON
{
  "hex": "#53228b",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 268,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.16267,
    "h": 299.9
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#53228B
secondary
#88B850
accent
#E44499
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #53228B

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

Preview Lab → · Contrast checker → · Palette generator →

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