#531EA6#531EA6

#531EA6 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.196 H 293.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#531EA6
RGBrgb(83, 30, 166)
HSLhsl(263, 69%, 38%)
HSVhsv(263, 82%, 65%)
CMYKcmyk(50%, 81.9%, 0%, 34.9%)
CIE-LABlab(28.17, 52.63, -62.86)
CIE-LCHlch(28.17, 81.98, 309.94°)
OKLaboklab(40.49% 0.0765 -0.1805)
OKLCHoklch(40.49% 0.196 293)
XYZxyz(10.9126, 5.5203, 36.5596)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531EA6 #71A61E
analogous
#1E2DA6 #531EA6 #971EA6
triadic
#531EA6 #A6531E #1EA653
tetradic
#531EA6 #A61E2D #71A61E #1EA697
square
#531EA6 #A61E2D #71A61E #1EA697
split-complementary
#531EA6 #A6971E #2DA61E
monochromatic
#1F0B3E #391572 #531EA6 #6D29D8 #915DE2

Accessibility & contrast

On white

9.98
#531EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#531EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531EA6
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531EA6#FFFFFF#000000##FFFFFF
##531EA61.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#384663
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #531ea6;
/* rgb */ color: rgb(83, 30, 166);
/* oklch */ color: oklch(40.5% 0.196 293.0);
Tailwind
colors: {
  custom: {
    50: '#8d62c2',
    500: '#531ea6',
    950: '#000000',
  },
}
SCSS
$custom: #531ea6;
$custom-light: #8d62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#531ea6",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 263.382,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40495,
    "c": 0.19603,
    "h": 293
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#531EA6
secondary
#9CC65A
accent
#EC3CA7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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