#531979#531979

#531979 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.154 H 307.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#531979
RGBrgb(83, 25, 121)
HSLhsl(276, 66%, 29%)
HSVhsv(276, 79%, 47%)
CMYKcmyk(31.4%, 79.3%, 0%, 52.5%)
CIE-LABlab(23.39, 43.39, -42.77)
CIE-LCHlch(23.39, 60.93, 315.42°)
OKLaboklab(35.91% 0.094 -0.1215)
OKLCHoklch(35.91% 0.154 307.7)
XYZxyz(7.3654, 3.9148, 18.4531)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531979 #3F7919
analogous
#231979 #531979 #79196F
triadic
#531979 #795319 #197953
tetradic
#531979 #792319 #3F7919 #196F79
square
#531979 #792319 #3F7919 #196F79
split-complementary
#531979 #6F7919 #197923
monochromatic
#110519 #300F46 #531979 #7623AC #9737D6

Accessibility & contrast

On white

11.78
#531979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#531979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531979
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531979#FFFFFF#000000##FFFFFF
##5319791.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#4D3148
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531979;
/* rgb */ color: rgb(83, 25, 121);
/* oklch */ color: oklch(35.9% 0.154 307.7);
Tailwind
colors: {
  custom: {
    50: '#885da0',
    500: '#531979',
    950: '#000000',
  },
}
SCSS
$custom: #531979;
$custom-light: #885da0;
$custom-dark: #000000;
JSON
{
  "hex": "#531979",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 276.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35911,
    "c": 0.15363,
    "h": 307.7
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#531979
secondary
#6BAE40
accent
#E93F82
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #531979

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

Preview Lab → · Contrast checker → · Palette generator →

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