#531FA1#531FA1

#531FA1 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.190 H 294.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#531FA1
RGBrgb(83, 31, 161)
HSLhsl(264, 68%, 38%)
HSVhsv(264, 81%, 63%)
CMYKcmyk(48.4%, 80.7%, 0%, 36.9%)
CIE-LABlab(27.82, 50.93, -60.39)
CIE-LCHlch(27.82, 79.00, 310.14°)
OKLaboklab(40.11% 0.0774 -0.1733)
OKLCHoklch(40.11% 0.19 294.1)
XYZxyz(10.4885, 5.3919, 34.1994)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531FA1 #6DA11F
analogous
#1F2CA1 #531FA1 #941FA1
triadic
#531FA1 #A1531F #1FA153
tetradic
#531FA1 #A11F2C #6DA11F #1FA194
square
#531FA1 #A11F2C #6DA11F #1FA194
split-complementary
#531FA1 #A1941F #2CA11F
monochromatic
#1E0B3A #39156E #531FA1 #6D29D4 #905BDF

Accessibility & contrast

On white

10.10
#531FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#531FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531FA1
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531FA1#FFFFFF#000000##FFFFFF
##531FA11.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#3B4460
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #531fa1;
/* rgb */ color: rgb(83, 31, 161);
/* oklch */ color: oklch(40.1% 0.190 294.1);
Tailwind
colors: {
  custom: {
    50: '#8c62be',
    500: '#531fa1',
    950: '#000000',
  },
}
SCSS
$custom: #531fa1;
$custom-light: #8c62be;
$custom-dark: #000000;
JSON
{
  "hex": "#531fa1",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 264,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.18982,
    "h": 294.1
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#531FA1
secondary
#99C458
accent
#EB3DA5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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