#531FA0#531FA0

#531FA0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.189 H 294.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#531FA0
RGBrgb(83, 31, 160)
HSLhsl(264, 68%, 37%)
HSVhsv(264, 81%, 63%)
CMYKcmyk(48.1%, 80.6%, 0%, 37.3%)
CIE-LABlab(27.73, 50.67, -59.94)
CIE-LCHlch(27.73, 78.49, 310.21°)
OKLaboklab(40.01% 0.0778 -0.172)
OKLCHoklch(40.01% 0.189 294.3)
XYZxyz(10.4007, 5.3567, 33.7368)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531FA0 #6CA01F
analogous
#1F2CA0 #531FA0 #931FA0
triadic
#531FA0 #A0531F #1FA053
tetradic
#531FA0 #A01F2C #6CA01F #1FA093
square
#531FA0 #A01F2C #6CA01F #1FA093
split-complementary
#531FA0 #A0931F #2CA01F
monochromatic
#1E0B39 #38156D #531FA0 #6E29D3 #905ADF

Accessibility & contrast

On white

10.14
#531FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#531FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531FA0
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531FA0#FFFFFF#000000##FFFFFF
##531FA01.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#3C4460
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #531fa0;
/* rgb */ color: rgb(83, 31, 160);
/* oklch */ color: oklch(40.0% 0.189 294.3);
Tailwind
colors: {
  custom: {
    50: '#8c62bd',
    500: '#531fa0',
    950: '#000000',
  },
}
SCSS
$custom: #531fa0;
$custom-light: #8c62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#531fa0",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 264.186,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.18875,
    "h": 294.3
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#531FA0
secondary
#98C358
accent
#EA3DA5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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