#53228F#53228F

#53228F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.167 H 298.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#53228F
RGBrgb(83, 34, 143)
HSLhsl(267, 62%, 35%)
HSVhsv(267, 76%, 56%)
CMYKcmyk(42%, 76.2%, 0%, 43.9%)
CIE-LABlab(26.64, 44.92, -51.29)
CIE-LCHlch(26.64, 68.18, 311.21°)
OKLaboklab(38.78% 0.0802 -0.1466)
OKLCHoklch(38.78% 0.167 298.7)
XYZxyz(9.0960, 4.9661, 26.4606)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53228F #5E8F22
analogous
#22288F #53228F #89228F
triadic
#53228F #8F5322 #228F53
tetradic
#53228F #8F2228 #5E8F22 #228F89
square
#53228F #8F2228 #5E8F22 #228F89
split-complementary
#53228F #8F8922 #288F22
monochromatic
#1A0A2C #36165E #53228F #702EC0 #8F55D7

Accessibility & contrast

On white

10.54
#53228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53228F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53228F#FFFFFF#000000##FFFFFF
##53228F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#443E57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #53228f;
/* rgb */ color: rgb(83, 34, 143);
/* oklch */ color: oklch(38.8% 0.167 298.7);
Tailwind
colors: {
  custom: {
    50: '#8962b1',
    500: '#53228f',
    950: '#000000',
  },
}
SCSS
$custom: #53228f;
$custom-light: #8962b1;
$custom-dark: #000000;
JSON
{
  "hex": "#53228f",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 266.972,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38778,
    "c": 0.16712,
    "h": 298.7
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#53228F
secondary
#8CBA52
accent
#E5439C
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #53228F

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

Preview Lab → · Contrast checker → · Palette generator →

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