#53127E#53127E

#53127E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.166 H 306.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#53127E
RGBrgb(83, 18, 126)
HSLhsl(276, 75%, 28%)
HSVhsv(276, 86%, 49%)
CMYKcmyk(34.1%, 85.7%, 0%, 50.6%)
CIE-LABlab(22.92, 47.15, -46.70)
CIE-LCHlch(22.92, 66.36, 315.27°)
OKLaboklab(35.72% 0.0984 -0.133)
OKLCHoklch(35.72% 0.166 306.5)
XYZxyz(7.5487, 3.7781, 20.0662)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53127E #3D7E12
analogous
#1D127E #53127E #7E1273
triadic
#53127E #7E5312 #127E53
tetradic
#53127E #7E1D12 #3D7E12 #12737E
square
#53127E #7E1D12 #3D7E12 #12737E
split-complementary
#53127E #737E12 #127E1D
monochromatic
#12041B #300A48 #53127E #761AB4 #982AE1

Accessibility & contrast

On white

11.96
#53127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#53127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53127E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53127E#FFFFFF#000000##FFFFFF
##53127E1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#4B304A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #53127e;
/* rgb */ color: rgb(83, 18, 126);
/* oklch */ color: oklch(35.7% 0.166 306.5);
Tailwind
colors: {
  custom: {
    50: '#885aa4',
    500: '#53127e',
    950: '#000000',
  },
}
SCSS
$custom: #53127e;
$custom-light: #885aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#53127e",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 276.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3572,
    "c": 0.1655,
    "h": 306.5
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#53127E
secondary
#69B438
accent
#F23681
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53127E

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

Preview Lab → · Contrast checker → · Palette generator →

#53127E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva