#531C94#531C94

#531C94 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.179 H 298.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#531C94
RGBrgb(83, 28, 148)
HSLhsl(268, 68%, 35%)
HSVhsv(268, 81%, 58%)
CMYKcmyk(43.9%, 81.1%, 0%, 42%)
CIE-LABlab(26.18, 48.81, -55.13)
CIE-LCHlch(26.18, 73.64, 311.52°)
OKLaboklab(38.6% 0.0839 -0.1579)
OKLCHoklch(38.6% 0.179 298)
XYZxyz(9.3264, 4.8075, 28.4478)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C94 #5D941C
analogous
#1C2194 #531C94 #8F1C94
triadic
#531C94 #94531C #1C9453
tetradic
#531C94 #941C21 #5D941C #1C948F
square
#531C94 #941C21 #5D941C #1C948F
split-complementary
#531C94 #948F1C #21941C
monochromatic
#19092D #361261 #531C94 #7026C7 #8F4DDD

Accessibility & contrast

On white

10.71
#531C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#531C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C94
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C94#FFFFFF#000000##FFFFFF
##531C941.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#423E58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #531c94;
/* rgb */ color: rgb(83, 28, 148);
/* oklch */ color: oklch(38.6% 0.179 298.0);
Tailwind
colors: {
  custom: {
    50: '#8a60b4',
    500: '#531c94',
    950: '#000000',
  },
}
SCSS
$custom: #531c94;
$custom-light: #8a60b4;
$custom-dark: #000000;
JSON
{
  "hex": "#531c94",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 267.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38595,
    "c": 0.17877,
    "h": 298
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#531C94
secondary
#8BC04C
accent
#EB3D9B
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #531C94

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

Preview Lab → · Contrast checker → · Palette generator →

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