#531474#531474

#531474 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.154 H 310.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#531474
RGBrgb(83, 20, 116)
HSLhsl(279, 71%, 27%)
HSVhsv(279, 83%, 45%)
CMYKcmyk(28.4%, 82.8%, 0%, 54.5%)
CIE-LABlab(22.30, 44.17, -41.33)
CIE-LCHlch(22.30, 60.49, 316.90°)
OKLaboklab(35.02% 0.0997 -0.1173)
OKLCHoklch(35.02% 0.154 310.4)
XYZxyz(6.9692, 3.6004, 16.8474)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531474 #357414
analogous
#231474 #531474 #741465
triadic
#531474 #745314 #147453
tetradic
#531474 #742314 #357414 #146574
square
#531474 #742314 #357414 #146574
split-complementary
#531474 #657414 #147423
monochromatic
#13051A #2E0B40 #531474 #781DA8 #9D28DA

Accessibility & contrast

On white

12.21
#531474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531474
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531474#FFFFFF#000000##FFFFFF
##5314741.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#4E2C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531474;
/* rgb */ color: rgb(83, 20, 116);
/* oklch */ color: oklch(35.0% 0.154 310.4);
Tailwind
colors: {
  custom: {
    50: '#885a9d',
    500: '#531474',
    950: '#000000',
  },
}
SCSS
$custom: #531474;
$custom-light: #885a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#531474",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 279.375,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35022,
    "c": 0.1539,
    "h": 310.4
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#531474
secondary
#60AA3A
accent
#ED3A78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531474

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

Preview Lab → · Contrast checker → · Palette generator →

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