#56299A#56299A

#56299A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.172 H 296.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#56299A
RGBrgb(86, 41, 154)
HSLhsl(264, 58%, 38%)
HSVhsv(264, 73%, 60%)
CMYKcmyk(44.2%, 73.4%, 0%, 39.6%)
CIE-LABlab(29.15, 45.00, -53.94)
CIE-LCHlch(29.15, 70.25, 309.84°)
OKLaboklab(40.93% 0.0755 -0.1543)
OKLCHoklch(40.93% 0.172 296.1)
XYZxyz(10.4619, 5.8972, 31.1526)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56299A #6D9A29
analogous
#29349A #56299A #8E299A
triadic
#56299A #9A5629 #299A56
tetradic
#56299A #9A2934 #6D9A29 #299A8E
square
#56299A #9A2934 #6D9A29 #299A8E
split-complementary
#56299A #9A8E29 #349A29
monochromatic
#200F39 #3B1C6A #56299A #7137CA #9367D7

Accessibility & contrast

On white

9.64
#56299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#56299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56299A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56299A#FFFFFF#000000##FFFFFF
##56299A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#44465F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56299a;
/* rgb */ color: rgb(86, 41, 154);
/* oklch */ color: oklch(40.9% 0.172 296.1);
Tailwind
colors: {
  custom: {
    50: '#8c67b9',
    500: '#56299a',
    950: '#000000',
  },
}
SCSS
$custom: #56299a;
$custom-light: #8c67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56299a",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 263.894,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.17183,
    "h": 296.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#56299A
secondary
#99BD62
accent
#E147A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #56299A

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

Preview Lab → · Contrast checker → · Palette generator →

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