#53238B#53238B

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

Color values

HEX#53238B
RGBrgb(83, 35, 139)
HSLhsl(268, 60%, 34%)
HSVhsv(268, 75%, 55%)
CMYKcmyk(40.3%, 74.8%, 0%, 45.5%)
CIE-LABlab(26.46, 43.40, -49.10)
CIE-LCHlch(26.46, 65.53, 311.48°)
OKLaboklab(38.55% 0.0801 -0.1402)
OKLCHoklch(38.55% 0.161 299.8)
XYZxyz(8.8273, 4.9050, 24.9028)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53238B #5B8B23
analogous
#23278B #53238B #87238B
triadic
#53238B #8B5323 #238B53
tetradic
#53238B #8B2327 #5B8B23 #238B87
square
#53238B #8B2327 #5B8B23 #238B87
split-complementary
#53238B #8B8723 #278B23
monochromatic
#190A29 #36175A #53238B #702FBC #8F54D4

Accessibility & contrast

On white

10.60
#53238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53238B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53238B#FFFFFF#000000##FFFFFF
##53238B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #53238b;
/* rgb */ color: rgb(83, 35, 139);
/* oklch */ color: oklch(38.5% 0.161 299.8);
Tailwind
colors: {
  custom: {
    50: '#8963ae',
    500: '#53238b',
    950: '#000000',
  },
}
SCSS
$custom: #53238b;
$custom-light: #8963ae;
$custom-dark: #000000;
JSON
{
  "hex": "#53238b",
  "rgb": {
    "r": 83,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 267.692,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.16149,
    "h": 299.8
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#53238B
secondary
#89B852
accent
#E3459A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #53238B

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

Preview Lab → · Contrast checker → · Palette generator →

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