#531C8E#531C8E

#531C8E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.172 H 299.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#531C8E
RGBrgb(83, 28, 142)
HSLhsl(269, 67%, 33%)
HSVhsv(269, 80%, 56%)
CMYKcmyk(41.5%, 80.3%, 0%, 44.3%)
CIE-LABlab(25.63, 47.30, -52.32)
CIE-LCHlch(25.63, 70.53, 312.11°)
OKLaboklab(38.05% 0.0857 -0.1496)
OKLCHoklch(38.05% 0.172 299.8)
XYZxyz(8.8638, 4.6224, 26.0112)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C8E #578E1C
analogous
#1C1E8E #531C8E #8C1C8E
triadic
#531C8E #8E531C #1C8E53
tetradic
#531C8E #8E1C1E #578E1C #1C8E8C
square
#531C8E #8E1C1E #578E1C #1C8E8C
split-complementary
#531C8E #8E8C1C #1E8E1C
monochromatic
#170828 #35125B #531C8E #7126C1 #9049DB

Accessibility & contrast

On white

10.91
#531C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#531C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C8E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C8E#FFFFFF#000000##FFFFFF
##531C8E1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#453B55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531c8e;
/* rgb */ color: rgb(83, 28, 142);
/* oklch */ color: oklch(38.0% 0.172 299.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fb0',
    500: '#531c8e',
    950: '#000000',
  },
}
SCSS
$custom: #531c8e;
$custom-light: #8a5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#531c8e",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 268.947,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38045,
    "c": 0.17243,
    "h": 299.8
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#531C8E
secondary
#85BD49
accent
#EA3E97
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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