#56308E#56308E

#56308E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.148 H 298.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#56308E
RGBrgb(86, 48, 142)
HSLhsl(264, 49%, 37%)
HSVhsv(264, 66%, 56%)
CMYKcmyk(39.4%, 66.2%, 0%, 44.3%)
CIE-LABlab(29.53, 38.03, -45.96)
CIE-LCHlch(29.53, 59.66, 309.61°)
OKLaboklab(40.9% 0.0699 -0.1309)
OKLCHoklch(40.9% 0.148 298.1)
XYZxyz(9.7760, 6.0452, 26.2377)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56308E #688E30
analogous
#30398E #56308E #85308E
triadic
#56308E #8E5630 #308E56
tetradic
#56308E #8E3039 #688E30 #308E85
square
#56308E #8E3039 #688E30 #308E85
split-complementary
#56308E #8E8530 #398E30
monochromatic
#1F1133 #3A2160 #56308E #723FBC #936BCD

Accessibility & contrast

On white

9.51
#56308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#56308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56308E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56308E#FFFFFF#000000##FFFFFF
##56308E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#49455A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #56308e;
/* rgb */ color: rgb(86, 48, 142);
/* oklch */ color: oklch(40.9% 0.148 298.1);
Tailwind
colors: {
  custom: {
    50: '#8a6bb0',
    500: '#56308e',
    950: '#000000',
  },
}
SCSS
$custom: #56308e;
$custom-light: #8a6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#56308e",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 264.255,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40896,
    "c": 0.14844,
    "h": 298.1
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#56308E
secondary
#94B465
accent
#D94FA1
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #56308E

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

Preview Lab → · Contrast checker → · Palette generator →

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