#56169F#56169F

#56169F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.195 H 297.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#56169F
RGBrgb(86, 22, 159)
HSLhsl(268, 76%, 35%)
HSVhsv(268, 86%, 62%)
CMYKcmyk(45.9%, 86.2%, 0%, 37.6%)
CIE-LABlab(26.89, 54.13, -60.69)
CIE-LCHlch(26.89, 81.32, 311.73°)
OKLaboklab(39.49% 0.0888 -0.174)
OKLCHoklch(39.49% 0.195 297)
XYZxyz(10.3810, 5.0552, 33.2230)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56169F #5F9F16
analogous
#161A9F #56169F #9A169F
triadic
#56169F #9F5616 #169F56
tetradic
#56169F #9F161A #5F9F16 #169F9A
square
#56169F #9F161A #5F9F16 #169F9A
split-complementary
#56169F #9F9A16 #1A9F16
monochromatic
#1C0733 #390F69 #56169F #731DD5 #934AE6

Accessibility & contrast

On white

10.44
#56169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#56169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56169F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56169F#FFFFFF#000000##FFFFFF
##56169F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#42405E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #56169f;
/* rgb */ color: rgb(86, 22, 159);
/* oklch */ color: oklch(39.5% 0.195 297.0);
Tailwind
colors: {
  custom: {
    50: '#8e5ebd',
    500: '#56169f',
    950: '#000000',
  },
}
SCSS
$custom: #56169f;
$custom-light: #8e5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#56169f",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 268.029,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39493,
    "c": 0.19534,
    "h": 297
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#56169F
secondary
#8DC74A
accent
#F2369A
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #56169F

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

Preview Lab → · Contrast checker → · Palette generator →

#56169F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva