#531F93#531F93

#531F93 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.175 H 297.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#531F93
RGBrgb(83, 31, 147)
HSLhsl(267, 65%, 35%)
HSVhsv(267, 79%, 58%)
CMYKcmyk(43.5%, 78.9%, 0%, 42.4%)
CIE-LABlab(26.52, 47.31, -53.96)
CIE-LCHlch(26.52, 71.76, 311.24°)
OKLaboklab(38.81% 0.0818 -0.1544)
OKLCHoklch(38.81% 0.175 297.9)
XYZxyz(9.3224, 4.9254, 28.0576)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531F93 #5F931F
analogous
#1F2593 #531F93 #8D1F93
triadic
#531F93 #93531F #1F9353
tetradic
#531F93 #931F25 #5F931F #1F938D
square
#531F93 #931F25 #5F931F #1F938D
split-complementary
#531F93 #938D1F #25931F
monochromatic
#1A0A2E #361460 #531F93 #702AC6 #8F52DA

Accessibility & contrast

On white

10.58
#531F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531F93
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531F93#FFFFFF#000000##FFFFFF
##531F931.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#433F58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #531f93;
/* rgb */ color: rgb(83, 31, 147);
/* oklch */ color: oklch(38.8% 0.175 297.9);
Tailwind
colors: {
  custom: {
    50: '#8a61b4',
    500: '#531f93',
    950: '#000000',
  },
}
SCSS
$custom: #531f93;
$custom-light: #8a61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#531f93",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 266.897,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.17475,
    "h": 297.9
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#531F93
secondary
#8DBE50
accent
#E8409D
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531F93

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

Preview Lab → · Contrast checker → · Palette generator →

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