#531EA8#531EA8

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

Color values

HEX#531EA8
RGBrgb(83, 30, 168)
HSLhsl(263, 70%, 39%)
HSVhsv(263, 82%, 66%)
CMYKcmyk(50.6%, 82.1%, 0%, 34.1%)
CIE-LABlab(28.36, 53.15, -63.74)
CIE-LCHlch(28.36, 82.99, 309.82°)
OKLaboklab(40.69% 0.0758 -0.1831)
OKLCHoklch(40.69% 0.198 292.5)
XYZxyz(11.0974, 5.5943, 37.5333)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531EA8 #73A81E
analogous
#1E2EA8 #531EA8 #981EA8
triadic
#531EA8 #A8531E #1EA853
tetradic
#531EA8 #A81E2E #73A81E #1EA898
square
#531EA8 #A81E2E #73A81E #1EA898
split-complementary
#531EA8 #A8981E #2EA81E
monochromatic
#200B40 #391574 #531EA8 #6D2AD9 #915EE2

Accessibility & contrast

On white

9.91
#531EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531EA8
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531EA8#FFFFFF#000000##FFFFFF
##531EA81.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531ea8;
/* rgb */ color: rgb(83, 30, 168);
/* oklch */ color: oklch(40.7% 0.198 292.5);
Tailwind
colors: {
  custom: {
    50: '#8d62c3',
    500: '#531ea8',
    950: '#000000',
  },
}
SCSS
$custom: #531ea8;
$custom-light: #8d62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#531ea8",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 263.043,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4069,
    "c": 0.19815,
    "h": 292.5
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#531EA8
secondary
#9DC75B
accent
#ED3BA8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #531EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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