#531175#531175

#531175 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.158 H 310.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#531175
RGBrgb(83, 17, 117)
HSLhsl(280, 75%, 26%)
HSVhsv(280, 85%, 46%)
CMYKcmyk(29.1%, 85.5%, 0%, 54.1%)
CIE-LABlab(22.03, 45.43, -42.41)
CIE-LCHlch(22.03, 62.15, 316.97°)
OKLaboklab(34.86% 0.1018 -0.1204)
OKLCHoklch(34.86% 0.158 310.2)
XYZxyz(6.9780, 3.5244, 17.1389)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531175 #337511
analogous
#211175 #531175 #751165
triadic
#531175 #755311 #117553
tetradic
#531175 #752111 #337511 #116575
square
#531175 #752111 #337511 #116575
split-complementary
#531175 #657511 #117521
monochromatic
#13041B #2D0940 #531175 #7919AA #9E22DF

Accessibility & contrast

On white

12.32
#531175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#531175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531175
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531175#FFFFFF#000000##FFFFFF
##5311751.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531175;
/* rgb */ color: rgb(83, 17, 117);
/* oklch */ color: oklch(34.9% 0.158 310.2);
Tailwind
colors: {
  custom: {
    50: '#88599d',
    500: '#531175',
    950: '#000000',
  },
}
SCSS
$custom: #531175;
$custom-light: #88599d;
$custom-dark: #000000;
JSON
{
  "hex": "#531175",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 279.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.15771,
    "h": 310.2
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#531175
secondary
#5EAC36
accent
#F13776
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531175

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

Preview Lab → · Contrast checker → · Palette generator →

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