#531975#531975

#531975 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.149 H 309.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#531975
RGBrgb(83, 25, 117)
HSLhsl(278, 65%, 28%)
HSVhsv(278, 79%, 46%)
CMYKcmyk(29.1%, 78.6%, 0%, 54.1%)
CIE-LABlab(23.06, 42.45, -40.74)
CIE-LCHlch(23.06, 58.84, 316.18°)
OKLaboklab(35.58% 0.0949 -0.1156)
OKLCHoklch(35.58% 0.15 309.4)
XYZxyz(7.1251, 3.8188, 17.1879)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531975 #3B7519
analogous
#251975 #531975 #751969
triadic
#531975 #755319 #197553
tetradic
#531975 #752519 #3B7519 #196975
square
#531975 #752519 #3B7519 #196975
split-complementary
#531975 #697519 #197525
monochromatic
#120519 #2F0E43 #531975 #7724A7 #9935D4

Accessibility & contrast

On white

11.91
#531975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531975
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531975#FFFFFF#000000##FFFFFF
##5319751.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#4E2F46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531975;
/* rgb */ color: rgb(83, 25, 117);
/* oklch */ color: oklch(35.6% 0.149 309.4);
Tailwind
colors: {
  custom: {
    50: '#875d9d',
    500: '#531975',
    950: '#000000',
  },
}
SCSS
$custom: #531975;
$custom-light: #875d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#531975",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 277.826,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35581,
    "c": 0.1495,
    "h": 309.4
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#531975
secondary
#67AA40
accent
#E8407E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531975

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

Preview Lab → · Contrast checker → · Palette generator →

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