#56299F#56299F

#56299F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.178 H 294.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#56299F
RGBrgb(86, 41, 159)
HSLhsl(263, 59%, 39%)
HSVhsv(263, 74%, 62%)
CMYKcmyk(45.9%, 74.2%, 0%, 37.6%)
CIE-LABlab(29.58, 46.35, -56.28)
CIE-LCHlch(29.58, 72.91, 309.47°)
OKLaboklab(41.37% 0.0744 -0.1612)
OKLCHoklch(41.37% 0.178 294.8)
XYZxyz(10.8870, 6.0672, 33.3916)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56299F #729F29
analogous
#29379F #56299F #91299F
triadic
#56299F #9F5629 #299F56
tetradic
#56299F #9F2937 #729F29 #299F91
square
#56299F #9F2937 #729F29 #299F91
split-complementary
#56299F #9F9129 #379F29
monochromatic
#21103E #3C1C6E #56299F #7139CC #946AD9

Accessibility & contrast

On white

9.49
#56299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#56299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56299F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56299F#FFFFFF#000000##FFFFFF
##56299F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#414862
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #56299f;
/* rgb */ color: rgb(86, 41, 159);
/* oklch */ color: oklch(41.4% 0.178 294.8);
Tailwind
colors: {
  custom: {
    50: '#8d67bc',
    500: '#56299f',
    950: '#000000',
  },
}
SCSS
$custom: #56299f;
$custom-light: #8d67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56299f",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 262.881,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41366,
    "c": 0.17756,
    "h": 294.8
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#56299F
secondary
#9DBF65
accent
#E246A6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56299F

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

Preview Lab → · Contrast checker → · Palette generator →

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