#56307C#56307C

#56307C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.126 H 304.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#56307C
RGBrgb(86, 48, 124)
HSLhsl(270, 44%, 34%)
HSVhsv(270, 61%, 49%)
CMYKcmyk(30.6%, 61.3%, 0%, 51.4%)
CIE-LABlab(28.24, 33.18, -36.81)
CIE-LCHlch(28.24, 49.56, 312.03°)
OKLaboklab(39.55% 0.071 -0.104)
OKLCHoklch(39.55% 0.126 304.3)
XYZxyz(8.5320, 5.5476, 19.6862)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56307C #567C30
analogous
#30307C #56307C #7C307C
triadic
#56307C #7C5630 #307C56
tetradic
#56307C #7C3030 #567C30 #307C7C
square
#56307C #7C3030 #567C30 #307C7C
split-complementary
#56307C #7C7C30 #307C30
monochromatic
#190E24 #371F50 #56307C #7541A8 #9364C3

Accessibility & contrast

On white

9.95
#56307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#56307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56307C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56307C#FFFFFF#000000##FFFFFF
##56307C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427E
Deuteranopia (green-blind)
#1F437A
Tritanopia (blue-blind)
#4F3F51
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #56307c;
/* rgb */ color: rgb(86, 48, 124);
/* oklch */ color: oklch(39.6% 0.126 304.3);
Tailwind
colors: {
  custom: {
    50: '#886aa2',
    500: '#56307c',
    950: '#000000',
  },
}
SCSS
$custom: #56307c;
$custom-light: #886aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#56307c",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 270,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39554,
    "c": 0.12594,
    "h": 304.3
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#56307C
secondary
#84AA5E
accent
#D45494
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #56307C

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

Preview Lab → · Contrast checker → · Palette generator →

#56307C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva