#56299D#56299D

#56299D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.175 H 295.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#56299D
RGBrgb(86, 41, 157)
HSLhsl(263, 59%, 39%)
HSVhsv(263, 74%, 62%)
CMYKcmyk(45.2%, 73.9%, 0%, 38.4%)
CIE-LABlab(29.41, 45.81, -55.35)
CIE-LCHlch(29.41, 71.85, 309.61°)
OKLaboklab(41.19% 0.0748 -0.1585)
OKLCHoklch(41.19% 0.175 295.3)
XYZxyz(10.7149, 5.9984, 32.4850)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56299D #709D29
analogous
#29369D #56299D #90299D
triadic
#56299D #9D5629 #299D56
tetradic
#56299D #9D2936 #709D29 #299D90
square
#56299D #9D2936 #709D29 #299D90
split-complementary
#56299D #9D9029 #369D29
monochromatic
#21103C #3B1C6C #56299D #7138CB #9469D8

Accessibility & contrast

On white

9.55
#56299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#56299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56299D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56299D#FFFFFF#000000##FFFFFF
##56299D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#424760
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56299d;
/* rgb */ color: rgb(86, 41, 157);
/* oklch */ color: oklch(41.2% 0.175 295.3);
Tailwind
colors: {
  custom: {
    50: '#8c67bb',
    500: '#56299d',
    950: '#000000',
  },
}
SCSS
$custom: #56299d;
$custom-light: #8c67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56299d",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 263.276,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.17527,
    "h": 295.3
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#56299D
secondary
#9BBE64
accent
#E246A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56299D

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

Preview Lab → · Contrast checker → · Palette generator →

#56299D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva