#531475#531475

#531475 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.155 H 309.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#531475
RGBrgb(83, 20, 117)
HSLhsl(279, 71%, 27%)
HSVhsv(279, 83%, 46%)
CMYKcmyk(29.1%, 82.9%, 0%, 54.1%)
CIE-LABlab(22.39, 44.40, -41.84)
CIE-LCHlch(22.39, 61.01, 316.70°)
OKLaboklab(35.11% 0.0994 -0.1187)
OKLCHoklch(35.11% 0.155 309.9)
XYZxyz(7.0277, 3.6238, 17.1554)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531475 #367514
analogous
#231475 #531475 #751467
triadic
#531475 #755314 #147553
tetradic
#531475 #752314 #367514 #146775
square
#531475 #752314 #367514 #146775
split-complementary
#531475 #677514 #147523
monochromatic
#13041A #2E0B41 #531475 #781DA9 #9C29DA

Accessibility & contrast

On white

12.18
#531475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#531475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531475
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531475#FFFFFF#000000##FFFFFF
##5314751.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#4E2D45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531475;
/* rgb */ color: rgb(83, 20, 117);
/* oklch */ color: oklch(35.1% 0.155 309.9);
Tailwind
colors: {
  custom: {
    50: '#885a9d',
    500: '#531475',
    950: '#000000',
  },
}
SCSS
$custom: #531475;
$custom-light: #885a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#531475",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 278.969,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35106,
    "c": 0.15487,
    "h": 309.9
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#531475
secondary
#61AB3A
accent
#EE3A79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531475

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

Preview Lab → · Contrast checker → · Palette generator →

#531475 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva