#56299C#56299C

#56299C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.174 H 295.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#56299C
RGBrgb(86, 41, 156)
HSLhsl(263, 58%, 39%)
HSVhsv(263, 74%, 61%)
CMYKcmyk(44.9%, 73.7%, 0%, 38.8%)
CIE-LABlab(29.32, 45.54, -54.88)
CIE-LCHlch(29.32, 71.32, 309.69°)
OKLaboklab(41.1% 0.0751 -0.1571)
OKLCHoklch(41.1% 0.174 295.5)
XYZxyz(10.6298, 5.9644, 32.0372)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56299C #6F9C29
analogous
#29359C #56299C #8F299C
triadic
#56299C #9C5629 #299C56
tetradic
#56299C #9C2935 #6F9C29 #299C8F
square
#56299C #9C2935 #6F9C29 #299C8F
split-complementary
#56299C #9C8F29 #359C29
monochromatic
#21103B #3B1C6C #56299C #7138CB #9468D7

Accessibility & contrast

On white

9.58
#56299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56299C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56299C#FFFFFF#000000##FFFFFF
##56299C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#434760
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56299c;
/* rgb */ color: rgb(86, 41, 156);
/* oklch */ color: oklch(41.1% 0.174 295.5);
Tailwind
colors: {
  custom: {
    50: '#8c67ba',
    500: '#56299c',
    950: '#000000',
  },
}
SCSS
$custom: #56299c;
$custom-light: #8c67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#56299c",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 263.478,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.17413,
    "h": 295.5
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56299C

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

Preview Lab → · Contrast checker → · Palette generator →

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