#53126C#53126C

#53126C is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.148 H 314.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#53126C
RGBrgb(83, 18, 108)
HSLhsl(283, 71%, 25%)
HSVhsv(283, 83%, 42%)
CMYKcmyk(23.1%, 83.3%, 0%, 57.6%)
CIE-LABlab(21.41, 43.11, -37.61)
CIE-LCHlch(21.41, 57.21, 318.90°)
OKLaboklab(34.19% 0.1032 -0.1063)
OKLCHoklch(34.19% 0.148 314.2)
XYZxyz(6.4899, 3.3545, 14.4901)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53126C #2B6C12
analogous
#26126C #53126C #6C1258
triadic
#53126C #6C5312 #126C53
tetradic
#53126C #6C2612 #2B6C12 #12586C
square
#53126C #6C2612 #2B6C12 #12586C
split-complementary
#53126C #586C12 #126C26
monochromatic
#14041A #2B0938 #53126C #7B1BA0 #A423D5

Accessibility & contrast

On white

12.57
#53126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#53126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53126C
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53126C#FFFFFF#000000##FFFFFF
##53126C1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#09356A
Tritanopia (blue-blind)
#51283F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #53126c;
/* rgb */ color: rgb(83, 18, 108);
/* oklch */ color: oklch(34.2% 0.148 314.2);
Tailwind
colors: {
  custom: {
    50: '#875997',
    500: '#53126c',
    950: '#000000',
  },
}
SCSS
$custom: #53126c;
$custom-light: #875997;
$custom-dark: #000000;
JSON
{
  "hex": "#53126c",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 283.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34193,
    "c": 0.14818,
    "h": 314.2
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#53126C
secondary
#55A336
accent
#EE3A6C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53126C

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

Preview Lab → · Contrast checker → · Palette generator →

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