#5618A1#5618A1

#5618A1 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.196 H 296.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#5618A1
RGBrgb(86, 24, 161)
HSLhsl(267, 74%, 36%)
HSVhsv(267, 85%, 63%)
CMYKcmyk(46.6%, 85.1%, 0%, 36.9%)
CIE-LABlab(27.31, 53.96, -61.22)
CIE-LCHlch(27.31, 81.61, 311.39°)
OKLaboklab(39.84% 0.0868 -0.1756)
OKLCHoklch(39.84% 0.196 296.3)
XYZxyz(10.5957, 5.2047, 34.1576)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5618A1 #63A118
analogous
#181FA1 #5618A1 #9B18A1
triadic
#5618A1 #A15618 #18A156
tetradic
#5618A1 #A1181F #63A118 #18A19B
square
#5618A1 #A1181F #63A118 #18A19B
split-complementary
#5618A1 #A19B18 #1FA118
monochromatic
#1D0836 #3A106C #5618A1 #7220D6 #934FE5

Accessibility & contrast

On white

10.29
#5618A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5618A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5618A1
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5618A1#FFFFFF#000000##FFFFFF
##5618A11.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#41425F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5618a1;
/* rgb */ color: rgb(86, 24, 161);
/* oklch */ color: oklch(39.8% 0.196 296.3);
Tailwind
colors: {
  custom: {
    50: '#8e5fbe',
    500: '#5618a1',
    950: '#000000',
  },
}
SCSS
$custom: #5618a1;
$custom-light: #8e5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5618a1",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 267.153,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3984,
    "c": 0.19587,
    "h": 296.3
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#5618A1
secondary
#90C74E
accent
#F1379D
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5618A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5618A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva