#531876#531876

#531876 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.152 H 309.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#531876
RGBrgb(83, 24, 118)
HSLhsl(278, 66%, 28%)
HSVhsv(278, 80%, 46%)
CMYKcmyk(29.7%, 79.7%, 0%, 53.7%)
CIE-LABlab(23.00, 43.10, -41.48)
CIE-LCHlch(23.00, 59.82, 316.09°)
OKLaboklab(35.56% 0.0956 -0.1177)
OKLCHoklch(35.56% 0.152 309.1)
XYZxyz(7.1633, 3.8004, 17.4922)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531876 #3B7618
analogous
#241876 #531876 #76186A
triadic
#531876 #765318 #187653
tetradic
#531876 #762418 #3B7618 #186A76
square
#531876 #762418 #3B7618 #186A76
split-complementary
#531876 #6A7618 #187624
monochromatic
#120519 #2F0E43 #531876 #7722A9 #9933D5

Accessibility & contrast

On white

11.93
#531876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#531876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531876
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531876#FFFFFF#000000##FFFFFF
##5318761.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#4E2F46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531876;
/* rgb */ color: rgb(83, 24, 118);
/* oklch */ color: oklch(35.6% 0.152 309.1);
Tailwind
colors: {
  custom: {
    50: '#875c9e',
    500: '#531876',
    950: '#000000',
  },
}
SCSS
$custom: #531876;
$custom-light: #875c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#531876",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 277.66,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35562,
    "c": 0.15166,
    "h": 309.1
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#531876
secondary
#67AB3F
accent
#E93F7E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531876

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

Preview Lab → · Contrast checker → · Palette generator →

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