#531268#531268

#531268 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.144 H 316.1°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#531268
RGBrgb(83, 18, 104)
HSLhsl(285, 70%, 24%)
HSVhsv(285, 83%, 41%)
CMYKcmyk(20.2%, 82.7%, 0%, 59.2%)
CIE-LABlab(21.10, 42.25, -35.50)
CIE-LCHlch(21.10, 55.18, 319.96°)
OKLaboklab(33.88% 0.104 -0.1001)
OKLCHoklch(33.88% 0.144 316.1)
XYZxyz(6.2819, 3.2713, 13.3945)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531268 #276812
analogous
#281268 #531268 #681252
triadic
#531268 #685312 #126853
tetradic
#531268 #682812 #276812 #125268
square
#531268 #682812 #276812 #125268
split-complementary
#531268 #526812 #126828
monochromatic
#15051A #290934 #531268 #7D1B9C #A624D0

Accessibility & contrast

On white

12.69
#531268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531268
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531268#FFFFFF#000000##FFFFFF
##5312681.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#113466
Tritanopia (blue-blind)
#52263D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #531268;
/* rgb */ color: rgb(83, 18, 104);
/* oklch */ color: oklch(33.9% 0.144 316.1);
Tailwind
colors: {
  custom: {
    50: '#875994',
    500: '#531268',
    950: '#000000',
  },
}
SCSS
$custom: #531268;
$custom-light: #875994;
$custom-dark: #000000;
JSON
{
  "hex": "#531268",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 285.349,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33875,
    "c": 0.14437,
    "h": 316.1
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#531268
secondary
#50A036
accent
#ED3B66
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531268

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

Preview Lab → · Contrast checker → · Palette generator →

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