#531180#531180

#531180 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.168 H 305.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#531180
RGBrgb(83, 17, 128)
HSLhsl(276, 77%, 28%)
HSVhsv(276, 87%, 50%)
CMYKcmyk(35.2%, 86.7%, 0%, 49.8%)
CIE-LABlab(22.99, 47.93, -47.86)
CIE-LCHlch(22.99, 67.73, 315.04°)
OKLaboklab(35.82% 0.0985 -0.1364)
OKLCHoklch(35.82% 0.168 305.8)
XYZxyz(7.6631, 3.7985, 20.7474)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531180 #3E8011
analogous
#1C1180 #531180 #801175
triadic
#531180 #805311 #118053
tetradic
#531180 #801C11 #3E8011 #117580
square
#531180 #801C11 #3E8011 #117580
split-complementary
#531180 #758011 #11801C
monochromatic
#12041B #300A4A #531180 #7618B6 #9729E3

Accessibility & contrast

On white

11.93
#531180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#531180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531180
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531180#FFFFFF#000000##FFFFFF
##5311801.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#4B314B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531180;
/* rgb */ color: rgb(83, 17, 128);
/* oklch */ color: oklch(35.8% 0.168 305.8);
Tailwind
colors: {
  custom: {
    50: '#895aa6',
    500: '#531180',
    950: '#000000',
  },
}
SCSS
$custom: #531180;
$custom-light: #895aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#531180",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 275.676,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35824,
    "c": 0.16826,
    "h": 305.8
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#531180
secondary
#6AB637
accent
#F33582
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531180

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

Preview Lab → · Contrast checker → · Palette generator →

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