#531699#531699

#531699 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.189 H 297.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#531699
RGBrgb(83, 22, 153)
HSLhsl(268, 75%, 34%)
HSVhsv(268, 86%, 60%)
CMYKcmyk(45.8%, 85.6%, 0%, 40%)
CIE-LABlab(25.90, 52.27, -58.67)
CIE-LCHlch(25.90, 78.58, 311.70°)
OKLaboklab(38.55% 0.0863 -0.1682)
OKLCHoklch(38.55% 0.189 297.2)
XYZxyz(9.6024, 4.7125, 30.5345)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531699 #5C9916
analogous
#161B99 #531699 #951699
triadic
#531699 #995316 #169953
tetradic
#531699 #99161B #5C9916 #169995
square
#531699 #99161B #5C9916 #169995
split-complementary
#531699 #999516 #1B9916
monochromatic
#19072E #360E63 #531699 #701ECF #8F45E4

Accessibility & contrast

On white

10.81
#531699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#531699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531699
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531699#FFFFFF#000000##FFFFFF
##5316991.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#403E5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531699;
/* rgb */ color: rgb(83, 22, 153);
/* oklch */ color: oklch(38.5% 0.189 297.2);
Tailwind
colors: {
  custom: {
    50: '#8b5db8',
    500: '#531699',
    950: '#000000',
  },
}
SCSS
$custom: #531699;
$custom-light: #8b5db8;
$custom-dark: #000000;
JSON
{
  "hex": "#531699",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 267.939,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.18903,
    "h": 297.2
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#531699
secondary
#8AC546
accent
#F1369A
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #531699

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

Preview Lab → · Contrast checker → · Palette generator →

#531699 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva