#531FA8#531FA8

#531FA8 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.8% C 0.197 H 292.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#531FA8
RGBrgb(83, 31, 168)
HSLhsl(263, 69%, 39%)
HSVhsv(263, 82%, 66%)
CMYKcmyk(50.6%, 81.5%, 0%, 34.1%)
CIE-LABlab(28.50, 52.76, -63.52)
CIE-LCHlch(28.50, 82.57, 309.71°)
OKLaboklab(40.78% 0.0751 -0.1825)
OKLCHoklch(40.78% 0.197 292.4)
XYZxyz(11.1232, 5.6457, 37.5419)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531FA8 #74A81F
analogous
#1F30A8 #531FA8 #981FA8
triadic
#531FA8 #A8531F #1FA853
tetradic
#531FA8 #A81F30 #74A81F #1FA898
square
#531FA8 #A81F30 #74A81F #1FA898
split-complementary
#531FA8 #A8981F #30A81F
monochromatic
#200C41 #391574 #531FA8 #6D2CD8 #9160E2

Accessibility & contrast

On white

9.86
#531FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#531FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531FA8
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531FA8#FFFFFF#000000##FFFFFF
##531FA81.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#374765
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #531fa8;
/* rgb */ color: rgb(83, 31, 168);
/* oklch */ color: oklch(40.8% 0.197 292.4);
Tailwind
colors: {
  custom: {
    50: '#8d62c3',
    500: '#531fa8',
    950: '#000000',
  },
}
SCSS
$custom: #531fa8;
$custom-light: #8d62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#531fa8",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 262.774,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40784,
    "c": 0.19731,
    "h": 292.4
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#531FA8
secondary
#9EC65D
accent
#EC3CA9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #531FA8

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

Preview Lab → · Contrast checker → · Palette generator →

#531FA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva