#531F94#531F94

#531F94 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.176 H 297.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#531F94
RGBrgb(83, 31, 148)
HSLhsl(267, 65%, 35%)
HSVhsv(267, 79%, 58%)
CMYKcmyk(43.9%, 79.1%, 0%, 42%)
CIE-LABlab(26.61, 47.56, -54.43)
CIE-LCHlch(26.61, 72.28, 311.15°)
OKLaboklab(38.9% 0.0815 -0.1558)
OKLCHoklch(38.9% 0.176 297.6)
XYZxyz(9.4012, 4.9569, 28.4727)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531F94 #60941F
analogous
#1F2594 #531F94 #8E1F94
triadic
#531F94 #94531F #1F9453
tetradic
#531F94 #941F25 #60941F #1F948E
square
#531F94 #941F25 #60941F #1F948E
split-complementary
#531F94 #948E1F #25941F
monochromatic
#1A0A2F #371461 #531F94 #6F2AC7 #8F53DB

Accessibility & contrast

On white

10.55
#531F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531F94
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531F94#FFFFFF#000000##FFFFFF
##531F941.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531f94;
/* rgb */ color: rgb(83, 31, 148);
/* oklch */ color: oklch(38.9% 0.176 297.6);
Tailwind
colors: {
  custom: {
    50: '#8a61b4',
    500: '#531f94',
    950: '#000000',
  },
}
SCSS
$custom: #531f94;
$custom-light: #8a61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#531f94",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 266.667,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38896,
    "c": 0.17583,
    "h": 297.6
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#531F94
secondary
#8DBE51
accent
#E83F9D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #531F94

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

Preview Lab → · Contrast checker → · Palette generator →

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