#56307E#56307E

#56307E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.128 H 303.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#56307E
RGBrgb(86, 48, 126)
HSLhsl(269, 45%, 34%)
HSVhsv(269, 62%, 49%)
CMYKcmyk(31.7%, 61.9%, 0%, 50.6%)
CIE-LABlab(28.38, 33.71, -37.85)
CIE-LCHlch(28.38, 50.69, 311.68°)
OKLaboklab(39.7% 0.0709 -0.1071)
OKLCHoklch(39.7% 0.128 303.5)
XYZxyz(8.6597, 5.5987, 20.3591)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56307E #587E30
analogous
#30317E #56307E #7D307E
triadic
#56307E #7E5630 #307E56
tetradic
#56307E #7E3031 #587E30 #307E7D
square
#56307E #7E3031 #587E30 #307E7D
split-complementary
#56307E #7E7D30 #317E30
monochromatic
#1A0E25 #381F52 #56307E #7441AA #9364C4

Accessibility & contrast

On white

9.91
#56307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#56307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56307E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56307E#FFFFFF#000000##FFFFFF
##56307E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084281
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#4F4052
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #56307e;
/* rgb */ color: rgb(86, 48, 126);
/* oklch */ color: oklch(39.7% 0.128 303.5);
Tailwind
colors: {
  custom: {
    50: '#896aa4',
    500: '#56307e',
    950: '#000000',
  },
}
SCSS
$custom: #56307e;
$custom-light: #896aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#56307e",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 269.231,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39696,
    "c": 0.12846,
    "h": 303.5
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#56307E
secondary
#86AB5F
accent
#D55396
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #56307E

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

Preview Lab → · Contrast checker → · Palette generator →

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