#56299B#56299B

#56299B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.173 H 295.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#56299B
RGBrgb(86, 41, 155)
HSLhsl(264, 58%, 38%)
HSVhsv(264, 74%, 61%)
CMYKcmyk(44.5%, 73.5%, 0%, 39.2%)
CIE-LABlab(29.24, 45.27, -54.41)
CIE-LCHlch(29.24, 70.78, 309.76°)
OKLaboklab(41.02% 0.0753 -0.1557)
OKLCHoklch(41.02% 0.173 295.8)
XYZxyz(10.5455, 5.9306, 31.5931)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56299B #6E9B29
analogous
#29359B #56299B #8F299B
triadic
#56299B #9B5629 #299B56
tetradic
#56299B #9B2935 #6E9B29 #299B8F
square
#56299B #9B2935 #6E9B29 #299B8F
split-complementary
#56299B #9B8F29 #359B29
monochromatic
#200F3A #3B1C6B #56299B #7137CA #9367D7

Accessibility & contrast

On white

9.61
#56299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#56299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56299B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56299B#FFFFFF#000000##FFFFFF
##56299B1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#43465F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56299b;
/* rgb */ color: rgb(86, 41, 155);
/* oklch */ color: oklch(41.0% 0.173 295.8);
Tailwind
colors: {
  custom: {
    50: '#8c67b9',
    500: '#56299b',
    950: '#000000',
  },
}
SCSS
$custom: #56299b;
$custom-light: #8c67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56299b",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 263.684,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.17298,
    "h": 295.8
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#56299B
secondary
#99BD63
accent
#E146A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56299B

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

Preview Lab → · Contrast checker → · Palette generator →

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