#53238A#53238A

#53238A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.160 H 300.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#53238A
RGBrgb(83, 35, 138)
HSLhsl(268, 60%, 34%)
HSVhsv(268, 75%, 54%)
CMYKcmyk(39.9%, 74.6%, 0%, 45.9%)
CIE-LABlab(26.38, 43.14, -48.61)
CIE-LCHlch(26.38, 64.99, 311.59°)
OKLaboklab(38.46% 0.0804 -0.1388)
OKLCHoklch(38.46% 0.16 300.1)
XYZxyz(8.7546, 4.8760, 24.5197)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53238A #5A8A23
analogous
#23278A #53238A #87238A
triadic
#53238A #8A5323 #238A53
tetradic
#53238A #8A2327 #5A8A23 #238A87
square
#53238A #8A2327 #5A8A23 #238A87
split-complementary
#53238A #8A8723 #278A23
monochromatic
#180A28 #361759 #53238A #702FBB #8F54D4

Accessibility & contrast

On white

10.63
#53238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#53238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53238A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53238A#FFFFFF#000000##FFFFFF
##53238A1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#463D54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #53238a;
/* rgb */ color: rgb(83, 35, 138);
/* oklch */ color: oklch(38.5% 0.160 300.1);
Tailwind
colors: {
  custom: {
    50: '#8963ad',
    500: '#53238a',
    950: '#000000',
  },
}
SCSS
$custom: #53238a;
$custom-light: #8963ad;
$custom-dark: #000000;
JSON
{
  "hex": "#53238a",
  "rgb": {
    "r": 83,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 267.961,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38462,
    "c": 0.16036,
    "h": 300.1
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#53238A
secondary
#88B751
accent
#E34599
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #53238A

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

Preview Lab → · Contrast checker → · Palette generator →

#53238A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva