#531F95#531F95

#531F95 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.177 H 297.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#531F95
RGBrgb(83, 31, 149)
HSLhsl(266, 66%, 35%)
HSVhsv(266, 79%, 58%)
CMYKcmyk(44.3%, 79.2%, 0%, 41.6%)
CIE-LABlab(26.70, 47.82, -54.89)
CIE-LCHlch(26.70, 72.80, 311.06°)
OKLaboklab(38.99% 0.0812 -0.1572)
OKLCHoklch(38.99% 0.177 297.3)
XYZxyz(9.4807, 4.9887, 28.8914)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531F95 #61951F
analogous
#1F2695 #531F95 #8E1F95
triadic
#531F95 #95531F #1F9553
tetradic
#531F95 #951F26 #61951F #1F958E
square
#531F95 #951F26 #61951F #1F958E
split-complementary
#531F95 #958E1F #26951F
monochromatic
#1B0A30 #371462 #531F95 #6F2AC8 #8F53DB

Accessibility & contrast

On white

10.51
#531F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#531F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531F95
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531F95#FFFFFF#000000##FFFFFF
##531F951.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#423F5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #531f95;
/* rgb */ color: rgb(83, 31, 149);
/* oklch */ color: oklch(39.0% 0.177 297.3);
Tailwind
colors: {
  custom: {
    50: '#8a61b5',
    500: '#531f95',
    950: '#000000',
  },
}
SCSS
$custom: #531f95;
$custom-light: #8a61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#531f95",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 266.441,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.17691,
    "h": 297.3
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#531F95
secondary
#8EBF51
accent
#E93F9E
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #531F95

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

Preview Lab → · Contrast checker → · Palette generator →

#531F95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva