#531FA7#531FA7

#531FA7 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.196 H 292.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#531FA7
RGBrgb(83, 31, 167)
HSLhsl(263, 69%, 39%)
HSVhsv(263, 81%, 65%)
CMYKcmyk(50.3%, 81.4%, 0%, 34.5%)
CIE-LABlab(28.40, 52.50, -63.08)
CIE-LCHlch(28.40, 82.06, 309.77°)
OKLaboklab(40.69% 0.0754 -0.1812)
OKLCHoklch(40.69% 0.196 292.6)
XYZxyz(11.0304, 5.6086, 37.0531)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531FA7 #73A71F
analogous
#1F2FA7 #531FA7 #971FA7
triadic
#531FA7 #A7531F #1FA753
tetradic
#531FA7 #A71F2F #73A71F #1FA797
square
#531FA7 #A71F2F #73A71F #1FA797
split-complementary
#531FA7 #A7971F #2FA71F
monochromatic
#200C40 #391573 #531FA7 #6D2BD8 #915FE1

Accessibility & contrast

On white

9.90
#531FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#531FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531FA7
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531FA7#FFFFFF#000000##FFFFFF
##531FA71.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#374764
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #531fa7;
/* rgb */ color: rgb(83, 31, 167);
/* oklch */ color: oklch(40.7% 0.196 292.6);
Tailwind
colors: {
  custom: {
    50: '#8d62c2',
    500: '#531fa7',
    950: '#000000',
  },
}
SCSS
$custom: #531fa7;
$custom-light: #8d62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#531fa7",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 262.941,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.19624,
    "h": 292.6
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#531FA7
secondary
#9DC65C
accent
#EC3CA9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #531FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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