#531E95#531E95

#531E95 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.178 H 297.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#531E95
RGBrgb(83, 30, 149)
HSLhsl(267, 66%, 35%)
HSVhsv(267, 80%, 58%)
CMYKcmyk(44.3%, 79.9%, 0%, 41.6%)
CIE-LABlab(26.56, 48.24, -55.13)
CIE-LCHlch(26.56, 73.26, 311.19°)
OKLaboklab(38.89% 0.082 -0.1579)
OKLCHoklch(38.89% 0.178 297.4)
XYZxyz(9.4549, 4.9373, 28.8828)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E95 #60951E
analogous
#1E2495 #531E95 #8F1E95
triadic
#531E95 #95531E #1E9553
tetradic
#531E95 #951E24 #60951E #1E958F
square
#531E95 #951E24 #60951E #1E958F
split-complementary
#531E95 #958F1E #24951E
monochromatic
#1A092F #371462 #531E95 #6F28C8 #8F51DC

Accessibility & contrast

On white

10.57
#531E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#531E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E95
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E95#FFFFFF#000000##FFFFFF
##531E951.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#423F59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #531e95;
/* rgb */ color: rgb(83, 30, 149);
/* oklch */ color: oklch(38.9% 0.178 297.4);
Tailwind
colors: {
  custom: {
    50: '#8a61b5',
    500: '#531e95',
    950: '#000000',
  },
}
SCSS
$custom: #531e95;
$custom-light: #8a61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#531e95",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 266.723,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.17791,
    "h": 297.4
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#531E95
secondary
#8DBF50
accent
#E93E9D
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #531E95

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

Preview Lab → · Contrast checker → · Palette generator →

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