#53187F#53187F

#53187F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.161 H 305.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#53187F
RGBrgb(83, 24, 127)
HSLhsl(274, 68%, 30%)
HSVhsv(274, 81%, 50%)
CMYKcmyk(34.6%, 81.1%, 0%, 50.2%)
CIE-LABlab(23.75, 45.22, -45.99)
CIE-LCHlch(23.75, 64.50, 314.52°)
OKLaboklab(36.33% 0.0934 -0.131)
OKLCHoklch(36.33% 0.161 305.5)
XYZxyz(7.7238, 4.0246, 20.4445)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53187F #447F18
analogous
#20187F #53187F #7F1878
triadic
#53187F #7F5318 #187F53
tetradic
#53187F #7F2018 #447F18 #18787F
square
#53187F #7F2018 #447F18 #18787F
split-complementary
#53187F #787F18 #187F20
monochromatic
#11051A #310E4C #53187F #7522B2 #9438D9

Accessibility & contrast

On white

11.63
#53187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#53187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53187F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53187F#FFFFFF#000000##FFFFFF
##53187F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#4B334B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #53187f;
/* rgb */ color: rgb(83, 24, 127);
/* oklch */ color: oklch(36.3% 0.161 305.5);
Tailwind
colors: {
  custom: {
    50: '#885da5',
    500: '#53187f',
    950: '#000000',
  },
}
SCSS
$custom: #53187f;
$custom-light: #885da5;
$custom-dark: #000000;
JSON
{
  "hex": "#53187f",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 274.369,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36325,
    "c": 0.16086,
    "h": 305.5
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#53187F
secondary
#71B33F
accent
#EB3D87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53187F

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

Preview Lab → · Contrast checker → · Palette generator →

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