#56307D#56307D

#56307D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.127 H 303.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#56307D
RGBrgb(86, 48, 125)
HSLhsl(270, 45%, 34%)
HSVhsv(270, 62%, 49%)
CMYKcmyk(31.2%, 61.6%, 0%, 51%)
CIE-LABlab(28.31, 33.44, -37.33)
CIE-LCHlch(28.31, 50.12, 311.85°)
OKLaboklab(39.63% 0.071 -0.1056)
OKLCHoklch(39.63% 0.127 303.9)
XYZxyz(8.5955, 5.5730, 20.0209)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56307D #577D30
analogous
#30317D #56307D #7D307D
triadic
#56307D #7D5630 #307D56
tetradic
#56307D #7D3031 #577D30 #307D7D
square
#56307D #7D3031 #577D30 #307D7D
split-complementary
#56307D #7D7D30 #317D30
monochromatic
#190E25 #381F51 #56307D #7441A9 #9364C3

Accessibility & contrast

On white

9.93
#56307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56307D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56307D#FFFFFF#000000##FFFFFF
##56307D1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B427F
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#4F4051
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #56307d;
/* rgb */ color: rgb(86, 48, 125);
/* oklch */ color: oklch(39.6% 0.127 303.9);
Tailwind
colors: {
  custom: {
    50: '#896aa3',
    500: '#56307d',
    950: '#000000',
  },
}
SCSS
$custom: #56307d;
$custom-light: #896aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#56307d",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 269.61,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.1272,
    "h": 303.9
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#56307D
secondary
#85AB5E
accent
#D45495
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #56307D

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

Preview Lab → · Contrast checker → · Palette generator →

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