#56296D#56296D

#56296D is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.4% C 0.119 H 312.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#56296D
RGBrgb(86, 41, 109)
HSLhsl(280, 45%, 29%)
HSVhsv(280, 62%, 43%)
CMYKcmyk(21.1%, 62.4%, 0%, 57.3%)
CIE-LABlab(25.77, 33.37, -31.23)
CIE-LCHlch(25.77, 45.70, 316.90°)
OKLaboklab(37.43% 0.0806 -0.0876)
OKLCHoklch(37.43% 0.119 312.6)
XYZxyz(7.3905, 4.6686, 14.9768)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56296D #406D29
analogous
#34296D #56296D #6D2962
triadic
#56296D #6D5629 #296D56
tetradic
#56296D #6D3429 #406D29 #29626D
square
#56296D #6D3429 #406D29 #29626D
split-complementary
#56296D #626D29 #296D34
monochromatic
#120816 #331841 #56296D #793A99 #9A52BE

Accessibility & contrast

On white

10.86
#56296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#56296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56296D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56296D#FFFFFF#000000##FFFFFF
##56296D1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B6F
Deuteranopia (green-blind)
#253E6B
Tritanopia (blue-blind)
#543547
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #56296d;
/* rgb */ color: rgb(86, 41, 109);
/* oklch */ color: oklch(37.4% 0.119 312.6);
Tailwind
colors: {
  custom: {
    50: '#886597',
    500: '#56296d',
    950: '#000000',
  },
}
SCSS
$custom: #56296d;
$custom-light: #886597;
$custom-dark: #000000;
JSON
{
  "hex": "#56296d",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 279.706,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37433,
    "c": 0.11906,
    "h": 312.6
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#56296D
secondary
#6C9F53
accent
#D5537F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #56296D

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

Preview Lab → · Contrast checker → · Palette generator →

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