#56296F#56296F

#56296F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.121 H 311.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#56296F
RGBrgb(86, 41, 111)
HSLhsl(279, 46%, 30%)
HSVhsv(279, 63%, 44%)
CMYKcmyk(22.5%, 63.1%, 0%, 56.5%)
CIE-LABlab(25.90, 33.86, -32.30)
CIE-LCHlch(25.90, 46.79, 316.34°)
OKLaboklab(37.57% 0.0806 -0.0908)
OKLCHoklch(37.57% 0.121 311.6)
XYZxyz(7.4994, 4.7122, 15.5503)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56296F #426F29
analogous
#33296F #56296F #6F2965
triadic
#56296F #6F5629 #296F56
tetradic
#56296F #6F3329 #426F29 #29656F
square
#56296F #6F3329 #426F29 #29656F
split-complementary
#56296F #656F29 #296F33
monochromatic
#110816 #331842 #56296F #793A9C #9953BF

Accessibility & contrast

On white

10.81
#56296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56296F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56296F#FFFFFF#000000##FFFFFF
##56296F1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#233E6D
Tritanopia (blue-blind)
#533648
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #56296f;
/* rgb */ color: rgb(86, 41, 111);
/* oklch */ color: oklch(37.6% 0.121 311.6);
Tailwind
colors: {
  custom: {
    50: '#886599',
    500: '#56296f',
    950: '#000000',
  },
}
SCSS
$custom: #56296f;
$custom-light: #886599;
$custom-dark: #000000;
JSON
{
  "hex": "#56296f",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 278.571,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37569,
    "c": 0.12143,
    "h": 311.6
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#56296F
secondary
#6FA153
accent
#D65281
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #56296F

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

Preview Lab → · Contrast checker → · Palette generator →

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