#53126D#53126D

#53126D is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.149 H 313.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#53126D
RGBrgb(83, 18, 109)
HSLhsl(283, 72%, 25%)
HSVhsv(283, 83%, 43%)
CMYKcmyk(23.9%, 83.5%, 0%, 57.3%)
CIE-LABlab(21.49, 43.32, -38.13)
CIE-LCHlch(21.49, 57.71, 318.65°)
OKLaboklab(34.27% 0.103 -0.1078)
OKLCHoklch(34.27% 0.149 313.7)
XYZxyz(6.5434, 3.3760, 14.7720)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53126D #2C6D12
analogous
#25126D #53126D #6D125A
triadic
#53126D #6D5312 #126D53
tetradic
#53126D #6D2512 #2C6D12 #125A6D
square
#53126D #6D2512 #2C6D12 #125A6D
split-complementary
#53126D #5A6D12 #126D25
monochromatic
#14041A #2B0938 #53126D #7B1BA2 #A323D6

Accessibility & contrast

On white

12.54
#53126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#53126D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53126D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53126D#FFFFFF#000000##FFFFFF
##53126D1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#07356B
Tritanopia (blue-blind)
#502840
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #53126d;
/* rgb */ color: rgb(83, 18, 109);
/* oklch */ color: oklch(34.3% 0.149 313.7);
Tailwind
colors: {
  custom: {
    50: '#875997',
    500: '#53126d',
    950: '#000000',
  },
}
SCSS
$custom: #53126d;
$custom-light: #875997;
$custom-dark: #000000;
JSON
{
  "hex": "#53126d",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 282.857,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34273,
    "c": 0.14913,
    "h": 313.7
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#53126D
secondary
#56A437
accent
#EE396D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53126D

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

Preview Lab → · Contrast checker → · Palette generator →

#53126D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva