#531C7D#531C7D

#531C7D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.154 H 305.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#531C7D
RGBrgb(83, 28, 125)
HSLhsl(274, 63%, 30%)
HSVhsv(274, 78%, 49%)
CMYKcmyk(33.6%, 77.6%, 0%, 51%)
CIE-LABlab(24.16, 43.08, -44.05)
CIE-LCHlch(24.16, 61.62, 314.36°)
OKLaboklab(36.56% 0.0902 -0.1253)
OKLCHoklch(36.56% 0.154 305.7)
XYZxyz(7.6834, 4.1502, 19.7944)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C7D #467D1C
analogous
#231C7D #531C7D #7D1C76
triadic
#531C7D #7D531C #1C7D53
tetradic
#531C7D #7D231C #467D1C #1C767D
square
#531C7D #7D231C #467D1C #1C767D
split-complementary
#531C7D #767D1C #1C7D23
monochromatic
#110619 #32114B #531C7D #7427AF #943FD4

Accessibility & contrast

On white

11.48
#531C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#531C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C7D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C7D#FFFFFF#000000##FFFFFF
##531C7D1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#4B344B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531c7d;
/* rgb */ color: rgb(83, 28, 125);
/* oklch */ color: oklch(36.6% 0.154 305.7);
Tailwind
colors: {
  custom: {
    50: '#885ea3',
    500: '#531c7d',
    950: '#000000',
  },
}
SCSS
$custom: #531c7d;
$custom-light: #885ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#531c7d",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 274.021,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.36559,
    "c": 0.15439,
    "h": 305.7
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#531C7D
secondary
#73B144
accent
#E64189
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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