#531966#531966

#531966 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.134 H 316.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#531966
RGBrgb(83, 25, 102)
HSLhsl(285, 61%, 25%)
HSVhsv(285, 75%, 40%)
CMYKcmyk(18.6%, 75.5%, 0%, 60%)
CIE-LABlab(21.92, 39.03, -32.87)
CIE-LCHlch(21.92, 51.03, 319.90°)
OKLaboklab(34.41% 0.0972 -0.0925)
OKLCHoklch(34.41% 0.134 316.4)
XYZxyz(6.3128, 3.4938, 12.9096)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531966 #2C6619
analogous
#2D1966 #531966 #661952
triadic
#531966 #665319 #196653
tetradic
#531966 #662D19 #2C6619 #195266
square
#531966 #662D19 #2C6619 #195266
split-complementary
#531966 #526619 #19662D
monochromatic
#140619 #2B0D35 #531966 #7B2597 #A331C8

Accessibility & contrast

On white

12.36
#531966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#531966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531966
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531966#FFFFFF#000000##FFFFFF
##5319661.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#193664
Tritanopia (blue-blind)
#52293E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531966;
/* rgb */ color: rgb(83, 25, 102);
/* oklch */ color: oklch(34.4% 0.134 316.4);
Tailwind
colors: {
  custom: {
    50: '#865c92',
    500: '#531966',
    950: '#000000',
  },
}
SCSS
$custom: #531966;
$custom-light: #865c92;
$custom-dark: #000000;
JSON
{
  "hex": "#531966",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 285.195,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34411,
    "c": 0.13416,
    "h": 316.4
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#531966
secondary
#569C3F
accent
#E4446B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #531966

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

Preview Lab → · Contrast checker → · Palette generator →

#531966 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva