#531968#531968

#531968 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.136 H 315.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#531968
RGBrgb(83, 25, 104)
HSLhsl(284, 61%, 25%)
HSVhsv(284, 76%, 41%)
CMYKcmyk(20.2%, 76%, 0%, 59.2%)
CIE-LABlab(22.07, 39.47, -33.94)
CIE-LCHlch(22.07, 52.06, 319.31°)
OKLaboklab(34.56% 0.097 -0.0956)
OKLCHoklch(34.56% 0.136 315.4)
XYZxyz(6.4132, 3.5340, 13.4383)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531968 #2E6819
analogous
#2C1968 #531968 #681955
triadic
#531968 #685319 #196853
tetradic
#531968 #682C19 #2E6819 #195568
square
#531968 #682C19 #2E6819 #195568
split-complementary
#531968 #556819 #19682C
monochromatic
#140619 #2C0D37 #531968 #7A2599 #A231CB

Accessibility & contrast

On white

12.30
#531968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#531968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531968
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531968#FFFFFF#000000##FFFFFF
##5319681.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#173666
Tritanopia (blue-blind)
#512A3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531968;
/* rgb */ color: rgb(83, 25, 104);
/* oklch */ color: oklch(34.6% 0.136 315.4);
Tailwind
colors: {
  custom: {
    50: '#865c94',
    500: '#531968',
    950: '#000000',
  },
}
SCSS
$custom: #531968;
$custom-light: #865c94;
$custom-dark: #000000;
JSON
{
  "hex": "#531968",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 284.051,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3456,
    "c": 0.13619,
    "h": 315.4
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#531968
secondary
#589E3F
accent
#E4436E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #531968

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

Preview Lab → · Contrast checker → · Palette generator →

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