#53238C#53238C

#53238C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.163 H 299.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#53238C
RGBrgb(83, 35, 140)
HSLhsl(267, 60%, 34%)
HSVhsv(267, 75%, 55%)
CMYKcmyk(40.7%, 75%, 0%, 45.1%)
CIE-LABlab(26.55, 43.66, -49.58)
CIE-LCHlch(26.55, 66.07, 311.37°)
OKLaboklab(38.63% 0.0799 -0.1416)
OKLCHoklch(38.63% 0.163 299.4)
XYZxyz(8.9007, 4.9344, 25.2894)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53238C #5C8C23
analogous
#23278C #53238C #88238C
triadic
#53238C #8C5323 #238C53
tetradic
#53238C #8C2327 #5C8C23 #238C88
square
#53238C #8C2327 #5C8C23 #238C88
split-complementary
#53238C #8C8823 #278C23
monochromatic
#190B2A #36175B #53238C #702FBD #8F55D4

Accessibility & contrast

On white

10.57
#53238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#53238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53238C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53238C#FFFFFF#000000##FFFFFF
##53238C1.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)
#003F8F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#463E55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #53238c;
/* rgb */ color: rgb(83, 35, 140);
/* oklch */ color: oklch(38.6% 0.163 299.4);
Tailwind
colors: {
  custom: {
    50: '#8963ae',
    500: '#53238c',
    950: '#000000',
  },
}
SCSS
$custom: #53238c;
$custom-light: #8963ae;
$custom-dark: #000000;
JSON
{
  "hex": "#53238c",
  "rgb": {
    "r": 83,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 267.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38634,
    "c": 0.16261,
    "h": 299.4
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#53238C
secondary
#8AB852
accent
#E3459B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #53238C

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

Preview Lab → · Contrast checker → · Palette generator →

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