#56307B#56307B

#56307B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.125 H 304.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#56307B
RGBrgb(86, 48, 123)
HSLhsl(270, 44%, 34%)
HSVhsv(270, 61%, 48%)
CMYKcmyk(30.1%, 61%, 0%, 51.8%)
CIE-LABlab(28.17, 32.92, -36.29)
CIE-LCHlch(28.17, 49.00, 312.21°)
OKLaboklab(39.48% 0.071 -0.1025)
OKLCHoklch(39.48% 0.125 304.7)
XYZxyz(8.4691, 5.5224, 19.3548)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56307B #557B30
analogous
#30307B #56307B #7B307A
triadic
#56307B #7B5630 #307B56
tetradic
#56307B #7B3030 #557B30 #307A7B
square
#56307B #7B3030 #557B30 #307A7B
split-complementary
#56307B #7A7B30 #307B30
monochromatic
#180E23 #371F4F #56307B #7541A7 #9363C2

Accessibility & contrast

On white

9.98
#56307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56307B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56307B#FFFFFF#000000##FFFFFF
##56307B1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417D
Deuteranopia (green-blind)
#204379
Tritanopia (blue-blind)
#4F3F50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #56307b;
/* rgb */ color: rgb(86, 48, 123);
/* oklch */ color: oklch(39.5% 0.125 304.7);
Tailwind
colors: {
  custom: {
    50: '#886aa2',
    500: '#56307b',
    950: '#000000',
  },
}
SCSS
$custom: #56307b;
$custom-light: #886aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#56307b",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 270.4,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39483,
    "c": 0.12469,
    "h": 304.7
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#56307B
secondary
#83A95D
accent
#D45493
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #56307B

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

Preview Lab → · Contrast checker → · Palette generator →

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