#53237F#53237F

#53237F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.148 H 303.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#53237F
RGBrgb(83, 35, 127)
HSLhsl(271, 57%, 32%)
HSVhsv(271, 72%, 50%)
CMYKcmyk(34.6%, 72.4%, 0%, 50.2%)
CIE-LABlab(25.48, 40.30, -43.17)
CIE-LCHlch(25.48, 59.06, 313.03°)
OKLaboklab(37.55% 0.0825 -0.1228)
OKLCHoklch(37.55% 0.148 303.9)
XYZxyz(7.9982, 4.5734, 20.5359)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53237F #4F7F23
analogous
#25237F #53237F #7F237D
triadic
#53237F #7F5323 #237F53
tetradic
#53237F #7F2523 #4F7F23 #237D7F
square
#53237F #7F2523 #4F7F23 #237D7F
split-complementary
#53237F #7D7F23 #237F25
monochromatic
#14091F #34164F #53237F #7230AF #914ECE

Accessibility & contrast

On white

10.97
#53237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#53237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53237F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53237F#FFFFFF#000000##FFFFFF
##53237F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#4A384E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #53237f;
/* rgb */ color: rgb(83, 35, 127);
/* oklch */ color: oklch(37.5% 0.148 303.9);
Tailwind
colors: {
  custom: {
    50: '#8862a5',
    500: '#53237f',
    950: '#000000',
  },
}
SCSS
$custom: #53237f;
$custom-light: #8862a5;
$custom-dark: #000000;
JSON
{
  "hex": "#53237f",
  "rgb": {
    "r": 83,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 271.304,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37546,
    "c": 0.14791,
    "h": 303.9
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#53237F
secondary
#7DB14C
accent
#E04891
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #53237F

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

Preview Lab → · Contrast checker → · Palette generator →

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