#56308F#56308F

#56308F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.150 H 297.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#56308F
RGBrgb(86, 48, 143)
HSLhsl(264, 50%, 37%)
HSVhsv(264, 66%, 56%)
CMYKcmyk(39.9%, 66.4%, 0%, 43.9%)
CIE-LABlab(29.60, 38.31, -46.46)
CIE-LCHlch(29.60, 60.21, 309.51°)
OKLaboklab(40.97% 0.0698 -0.1324)
OKLCHoklch(40.97% 0.15 297.8)
XYZxyz(9.8514, 6.0754, 26.6349)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56308F #698F30
analogous
#303A8F #56308F #85308F
triadic
#56308F #8F5630 #308F56
tetradic
#56308F #8F303A #698F30 #308F85
square
#56308F #8F303A #698F30 #308F85
split-complementary
#56308F #8F8530 #3A8F30
monochromatic
#1F1133 #3A2161 #56308F #723FBD #936CCE

Accessibility & contrast

On white

9.48
#56308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#56308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56308F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56308F#FFFFFF#000000##FFFFFF
##56308F1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#48465B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #56308f;
/* rgb */ color: rgb(86, 48, 143);
/* oklch */ color: oklch(41.0% 0.150 297.8);
Tailwind
colors: {
  custom: {
    50: '#8a6bb0',
    500: '#56308f',
    950: '#000000',
  },
}
SCSS
$custom: #56308f;
$custom-light: #8a6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#56308f",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 264,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.14968,
    "h": 297.8
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#56308F
secondary
#95B566
accent
#D94FA2
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #56308F

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

Preview Lab → · Contrast checker → · Palette generator →

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