#531267#531267

#531267 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.143 H 316.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#531267
RGBrgb(83, 18, 103)
HSLhsl(286, 70%, 24%)
HSVhsv(286, 83%, 40%)
CMYKcmyk(19.4%, 82.5%, 0%, 59.6%)
CIE-LABlab(21.02, 42.03, -34.97)
CIE-LCHlch(21.02, 54.68, 320.24°)
OKLaboklab(33.8% 0.1042 -0.0986)
OKLCHoklch(33.8% 0.143 316.6)
XYZxyz(6.2314, 3.2511, 13.1286)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531267 #266712
analogous
#281267 #531267 #671250
triadic
#531267 #675312 #126753
tetradic
#531267 #672812 #266712 #125067
square
#531267 #672812 #266712 #125067
split-complementary
#531267 #506712 #126728
monochromatic
#15051A #290933 #531267 #7D1B9B #A724CF

Accessibility & contrast

On white

12.73
#531267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#531267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531267
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531267#FFFFFF#000000##FFFFFF
##5312671.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#123465
Tritanopia (blue-blind)
#52253C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #531267;
/* rgb */ color: rgb(83, 18, 103);
/* oklch */ color: oklch(33.8% 0.143 316.6);
Tailwind
colors: {
  custom: {
    50: '#875993',
    500: '#531267',
    950: '#000000',
  },
}
SCSS
$custom: #531267;
$custom-light: #875993;
$custom-dark: #000000;
JSON
{
  "hex": "#531267",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 285.882,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.14343,
    "h": 316.6
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#531267
secondary
#4F9F36
accent
#ED3B65
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531267

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

Preview Lab → · Contrast checker → · Palette generator →

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