#56388E#56388E

#56388E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.2% C 0.137 H 296.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#56388E
RGBrgb(86, 56, 142)
HSLhsl(261, 43%, 39%)
HSVhsv(261, 61%, 56%)
CMYKcmyk(39.4%, 60.6%, 0%, 44.3%)
CIE-LABlab(31.25, 33.41, -43.17)
CIE-LCHlch(31.25, 54.59, 307.73°)
OKLaboklab(42.15% 0.0601 -0.1227)
OKLCHoklch(42.15% 0.137 296.1)
XYZxyz(10.1331, 6.7596, 26.3568)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56388E #708E38
analogous
#38458E #56388E #81388E
triadic
#56388E #8E5638 #388E56
tetradic
#56388E #8E3845 #708E38 #388E81
square
#56388E #8E3845 #708E38 #388E81
split-complementary
#56388E #8E8138 #458E38
monochromatic
#211536 #3B2762 #56388E #714BB8 #9477C9

Accessibility & contrast

On white

8.93
#56388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#56388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56388E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56388E#FFFFFF#000000##FFFFFF
##56388E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014A91
Deuteranopia (green-blind)
#13488C
Tritanopia (blue-blind)
#484B5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #56388e;
/* rgb */ color: rgb(86, 56, 142);
/* oklch */ color: oklch(42.2% 0.137 296.1);
Tailwind
colors: {
  custom: {
    50: '#8a70b0',
    500: '#56388e',
    950: '#000000',
  },
}
SCSS
$custom: #56388e;
$custom-light: #8a70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#56388e",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 260.93,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.13668,
    "h": 296.1
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#56388E
secondary
#9BB26F
accent
#D355A7
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #56388E

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

Preview Lab → · Contrast checker → · Palette generator →

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