#56124F#56124F

#56124F is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.123 H 332.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#56124F
RGBrgb(86, 18, 79)
HSLhsl(306, 65%, 20%)
HSVhsv(306, 79%, 34%)
CMYKcmyk(0%, 79.1%, 8.1%, 66.3%)
CIE-LABlab(19.95, 38.04, -20.66)
CIE-LCHlch(19.95, 43.29, 331.49°)
OKLaboklab(32.62% 0.1095 -0.0568)
OKLCHoklch(32.62% 0.123 332.6)
XYZxyz(5.4654, 2.9760, 7.6822)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56124F #125619
analogous
#3B1256 #56124F #56122D
triadic
#56124F #4F5612 #124F56
tetradic
#56124F #563B12 #125619 #122D56
square
#56124F #563B12 #125619 #122D56
split-complementary
#56124F #2D5612 #12563B
monochromatic
#190517 #230721 #56124F #891D7D #BB27AC

Accessibility & contrast

On white

13.16
#56124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#56124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56124F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56124F#FFFFFF#000000##FFFFFF
##56124F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A51
Deuteranopia (green-blind)
#28344D
Tritanopia (blue-blind)
#5A192F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #56124f;
/* rgb */ color: rgb(86, 18, 79);
/* oklch */ color: oklch(32.6% 0.123 332.6);
Tailwind
colors: {
  custom: {
    50: '#885880',
    500: '#56124f',
    950: '#000000',
  },
}
SCSS
$custom: #56124f;
$custom-light: #885880;
$custom-dark: #000000;
JSON
{
  "hex": "#56124f",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 306.176,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32619,
    "c": 0.12334,
    "h": 332.6
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#56124F
secondary
#358F3E
accent
#E8513F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56124F

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

Preview Lab → · Contrast checker → · Palette generator →

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