#531C9F#531C9F

#531C9F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.190 H 294.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#531C9F
RGBrgb(83, 28, 159)
HSLhsl(265, 70%, 37%)
HSVhsv(265, 82%, 62%)
CMYKcmyk(47.8%, 82.4%, 0%, 37.6%)
CIE-LABlab(27.22, 51.61, -60.17)
CIE-LCHlch(27.22, 79.27, 310.62°)
OKLaboklab(39.63% 0.0802 -0.1726)
OKLCHoklch(39.63% 0.19 294.9)
XYZxyz(10.2388, 5.1724, 33.2531)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C9F #689F1C
analogous
#1C279F #531C9F #951C9F
triadic
#531C9F #9F531C #1C9F53
tetradic
#531C9F #9F1C27 #689F1C #1C9F95
square
#531C9F #9F1C27 #689F1C #1C9F95
split-complementary
#531C9F #9F951C #279F1C
monochromatic
#1D0A37 #38136B #531C9F #6E25D3 #8F54E1

Accessibility & contrast

On white

10.32
#531C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#531C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C9F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C9F#FFFFFF#000000##FFFFFF
##531C9F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#3C425F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #531c9f;
/* rgb */ color: rgb(83, 28, 159);
/* oklch */ color: oklch(39.6% 0.190 294.9);
Tailwind
colors: {
  custom: {
    50: '#8c60bc',
    500: '#531c9f',
    950: '#000000',
  },
}
SCSS
$custom: #531c9f;
$custom-light: #8c60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#531c9f",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 265.191,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.19035,
    "h": 294.9
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#531C9F
secondary
#94C453
accent
#ED3BA2
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #531C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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