#56296E#56296E

#56296E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.120 H 312.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#56296E
RGBrgb(86, 41, 110)
HSLhsl(279, 46%, 30%)
HSVhsv(279, 63%, 43%)
CMYKcmyk(21.8%, 62.7%, 0%, 56.9%)
CIE-LABlab(25.83, 33.61, -31.76)
CIE-LCHlch(25.83, 46.25, 316.62°)
OKLaboklab(37.5% 0.0806 -0.0892)
OKLCHoklch(37.5% 0.12 312.1)
XYZxyz(7.4447, 4.6903, 15.2620)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56296E #416E29
analogous
#33296E #56296E #6E2964
triadic
#56296E #6E5629 #296E56
tetradic
#56296E #6E3329 #416E29 #29646E
square
#56296E #6E3329 #416E29 #29646E
split-complementary
#56296E #646E29 #296E33
monochromatic
#110816 #331841 #56296E #793A9B #9953BF

Accessibility & contrast

On white

10.84
#56296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#56296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56296E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56296E#FFFFFF#000000##FFFFFF
##56296E1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#243E6C
Tritanopia (blue-blind)
#533647
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #56296e;
/* rgb */ color: rgb(86, 41, 110);
/* oklch */ color: oklch(37.5% 0.120 312.1);
Tailwind
colors: {
  custom: {
    50: '#886598',
    500: '#56296e',
    950: '#000000',
  },
}
SCSS
$custom: #56296e;
$custom-light: #886598;
$custom-dark: #000000;
JSON
{
  "hex": "#56296e",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 279.13,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37501,
    "c": 0.12024,
    "h": 312.1
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#56296E
secondary
#6EA053
accent
#D55280
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #56296E

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

Preview Lab → · Contrast checker → · Palette generator →

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