#56276F#56276F

#56276F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.125 H 312.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#56276F
RGBrgb(86, 39, 111)
HSLhsl(279, 48%, 29%)
HSVhsv(279, 65%, 44%)
CMYKcmyk(22.5%, 64.9%, 0%, 56.5%)
CIE-LABlab(25.50, 34.95, -32.95)
CIE-LCHlch(25.50, 48.03, 316.69°)
OKLaboklab(37.28% 0.0833 -0.0927)
OKLCHoklch(37.28% 0.125 312)
XYZxyz(7.4320, 4.5774, 15.5279)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56276F #406F27
analogous
#32276F #56276F #6F2764
triadic
#56276F #6F5627 #276F56
tetradic
#56276F #6F3227 #406F27 #27646F
square
#56276F #6F3227 #406F27 #27646F
split-complementary
#56276F #646F27 #276F32
monochromatic
#120817 #331742 #56276F #79379C #9A4FC1

Accessibility & contrast

On white

10.96
#56276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#56276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56276F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56276F#FFFFFF#000000##FFFFFF
##56276F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3A71
Deuteranopia (green-blind)
#213D6D
Tritanopia (blue-blind)
#533547
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56276f;
/* rgb */ color: rgb(86, 39, 111);
/* oklch */ color: oklch(37.3% 0.125 312.0);
Tailwind
colors: {
  custom: {
    50: '#886499',
    500: '#56276f',
    950: '#000000',
  },
}
SCSS
$custom: #56276f;
$custom-light: #886499;
$custom-dark: #000000;
JSON
{
  "hex": "#56276f",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 279.167,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37276,
    "c": 0.12465,
    "h": 312
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#56276F
secondary
#6CA250
accent
#D8507F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #56276F

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

Preview Lab → · Contrast checker → · Palette generator →

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