#531683#531683

#531683 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.167 H 304.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#531683
RGBrgb(83, 22, 131)
HSLhsl(274, 71%, 30%)
HSVhsv(274, 83%, 51%)
CMYKcmyk(36.6%, 83.2%, 0%, 48.6%)
CIE-LABlab(23.84, 46.94, -48.37)
CIE-LCHlch(23.84, 67.40, 314.14°)
OKLaboklab(36.49% 0.0939 -0.1379)
OKLCHoklch(36.49% 0.167 304.2)
XYZxyz(7.9500, 4.0515, 21.8315)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531683 #468316
analogous
#1C1683 #531683 #83167D
triadic
#531683 #835316 #168353
tetradic
#531683 #831C16 #468316 #167D83
square
#531683 #831C16 #468316 #167D83
split-complementary
#531683 #7D8316 #16831C
monochromatic
#11041A #320D4F #531683 #741FB7 #9436DD

Accessibility & contrast

On white

11.60
#531683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#531683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531683
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531683#FFFFFF#000000##FFFFFF
##5316831.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#49344D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531683;
/* rgb */ color: rgb(83, 22, 131);
/* oklch */ color: oklch(36.5% 0.167 304.2);
Tailwind
colors: {
  custom: {
    50: '#895ca8',
    500: '#531683',
    950: '#000000',
  },
}
SCSS
$custom: #531683;
$custom-light: #895ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#531683",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 273.578,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.36494,
    "c": 0.16686,
    "h": 304.2
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#531683
secondary
#73B73D
accent
#EE3A89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #531683

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

Preview Lab → · Contrast checker → · Palette generator →

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