#56307F#56307F

#56307F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.130 H 303.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#56307F
RGBrgb(86, 48, 127)
HSLhsl(269, 45%, 34%)
HSVhsv(269, 62%, 50%)
CMYKcmyk(32.3%, 62.2%, 0%, 50.2%)
CIE-LABlab(28.45, 33.97, -38.37)
CIE-LCHlch(28.45, 51.25, 311.52°)
OKLaboklab(39.77% 0.0709 -0.1086)
OKLCHoklch(39.77% 0.13 303.1)
XYZxyz(8.7246, 5.6247, 20.7006)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56307F #597F30
analogous
#30317F #56307F #7E307F
triadic
#56307F #7F5630 #307F56
tetradic
#56307F #7F3031 #597F30 #307F7E
square
#56307F #7F3031 #597F30 #307F7E
split-complementary
#56307F #7F7E30 #317F30
monochromatic
#1A0E26 #381F53 #56307F #7441AB #9365C5

Accessibility & contrast

On white

9.88
#56307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#56307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56307F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56307F#FFFFFF#000000##FFFFFF
##56307F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064282
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#4E4052
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #56307f;
/* rgb */ color: rgb(86, 48, 127);
/* oklch */ color: oklch(39.8% 0.130 303.1);
Tailwind
colors: {
  custom: {
    50: '#896aa5',
    500: '#56307f',
    950: '#000000',
  },
}
SCSS
$custom: #56307f;
$custom-light: #896aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#56307f",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 268.861,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39768,
    "c": 0.12972,
    "h": 303.1
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#56307F
secondary
#87AC5F
accent
#D55396
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #56307F

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

Preview Lab → · Contrast checker → · Palette generator →

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