#531868#531868

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

Color values

HEX#531868
RGBrgb(83, 24, 104)
HSLhsl(284, 63%, 25%)
HSVhsv(284, 77%, 41%)
CMYKcmyk(20.2%, 76.9%, 0%, 59.2%)
CIE-LABlab(21.92, 39.90, -34.19)
CIE-LCHlch(21.92, 52.55, 319.41°)
OKLaboklab(34.45% 0.0981 -0.0963)
OKLCHoklch(34.45% 0.137 315.5)
XYZxyz(6.3922, 3.4920, 13.4313)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531868 #2D6818
analogous
#2B1868 #531868 #681855
triadic
#531868 #685318 #186853
tetradic
#531868 #682B18 #2D6818 #185568
square
#531868 #682B18 #2D6818 #185568
split-complementary
#531868 #556818 #18682B
monochromatic
#140619 #2B0D36 #531868 #7B239A #A22FCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##531868#FFFFFF#000000##FFFFFF
##5318681.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)
#00316A
Deuteranopia (green-blind)
#163666
Tritanopia (blue-blind)
#51293E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531868;
/* rgb */ color: rgb(83, 24, 104);
/* oklch */ color: oklch(34.5% 0.137 315.5);
Tailwind
colors: {
  custom: {
    50: '#865b94',
    500: '#531868',
    950: '#000000',
  },
}
SCSS
$custom: #531868;
$custom-light: #865b94;
$custom-dark: #000000;
JSON
{
  "hex": "#531868",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 284.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34452,
    "c": 0.13746,
    "h": 315.5
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#531868
secondary
#579E3E
accent
#E6426D
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531868

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

Preview Lab → · Contrast checker → · Palette generator →

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