#56307A#56307A

#56307A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.123 H 305.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#56307A
RGBrgb(86, 48, 122)
HSLhsl(271, 44%, 33%)
HSVhsv(271, 61%, 48%)
CMYKcmyk(29.5%, 60.7%, 0%, 52.2%)
CIE-LABlab(28.11, 32.66, -35.77)
CIE-LCHlch(28.11, 48.43, 312.40°)
OKLaboklab(39.41% 0.071 -0.101)
OKLCHoklch(39.41% 0.123 305.1)
XYZxyz(8.4068, 5.4975, 19.0268)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56307A #547A30
analogous
#31307A #56307A #7A3079
triadic
#56307A #7A5630 #307A56
tetradic
#56307A #7A3130 #547A30 #30797A
square
#56307A #7A3130 #547A30 #30797A
split-complementary
#56307A #797A30 #307A31
monochromatic
#180D22 #371F4E #56307A #7541A6 #9363C2

Accessibility & contrast

On white

10.00
#56307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#56307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56307A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56307A#FFFFFF#000000##FFFFFF
##56307A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#214278
Tritanopia (blue-blind)
#503F50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #56307a;
/* rgb */ color: rgb(86, 48, 122);
/* oklch */ color: oklch(39.4% 0.123 305.1);
Tailwind
colors: {
  custom: {
    50: '#886aa1',
    500: '#56307a',
    950: '#000000',
  },
}
SCSS
$custom: #56307a;
$custom-light: #886aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#56307a",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 270.811,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39413,
    "c": 0.12342,
    "h": 305.1
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#56307A
secondary
#82A95D
accent
#D35592
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #56307A

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

Preview Lab → · Contrast checker → · Palette generator →

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