#56195F#56195F

#56195F is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.129 H 322.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#56195F
RGBrgb(86, 25, 95)
HSLhsl(292, 58%, 24%)
HSVhsv(292, 74%, 37%)
CMYKcmyk(9.5%, 73.7%, 0%, 62.7%)
CIE-LABlab(21.95, 38.26, -28.20)
CIE-LCHlch(21.95, 47.53, 323.61°)
OKLaboklab(34.38% 0.1017 -0.0787)
OKLCHoklch(34.38% 0.129 322.3)
XYZxyz(6.2507, 3.5003, 11.1706)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56195F #225F19
analogous
#33195F #56195F #5F1945
triadic
#56195F #5F5619 #195F56
tetradic
#56195F #5F3319 #225F19 #19455F
square
#56195F #5F3319 #225F19 #19455F
split-complementary
#56195F #455F19 #195F33
monochromatic
#160618 #2A0C2F #56195F #82268F #AE32C0

Accessibility & contrast

On white

12.35
#56195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#56195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56195F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56195F#FFFFFF#000000##FFFFFF
##56195F1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#23375D
Tritanopia (blue-blind)
#57253A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56195f;
/* rgb */ color: rgb(86, 25, 95);
/* oklch */ color: oklch(34.4% 0.129 322.3);
Tailwind
colors: {
  custom: {
    50: '#885c8d',
    500: '#56195f',
    950: '#000000',
  },
}
SCSS
$custom: #56195f;
$custom-light: #885c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#56195f",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 292.286,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34375,
    "c": 0.12861,
    "h": 322.3
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#56195F
secondary
#4A953F
accent
#E2465A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56195F

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

Preview Lab → · Contrast checker → · Palette generator →

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