#56388F#56388F

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

Color values

HEX#56388F
RGBrgb(86, 56, 143)
HSLhsl(261, 44%, 39%)
HSVhsv(261, 61%, 56%)
CMYKcmyk(39.9%, 60.8%, 0%, 43.9%)
CIE-LABlab(31.32, 33.69, -43.68)
CIE-LCHlch(31.32, 55.16, 307.65°)
OKLaboklab(42.23% 0.0601 -0.1242)
OKLCHoklch(42.23% 0.138 295.8)
XYZxyz(10.2086, 6.7898, 26.7540)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56388F #718F38
analogous
#38458F #56388F #82388F
triadic
#56388F #8F5638 #388F56
tetradic
#56388F #8F3845 #718F38 #388F82
square
#56388F #8F3845 #718F38 #388F82
split-complementary
#56388F #8F8238 #458F38
monochromatic
#211637 #3C2763 #56388F #714BB9 #9477CA

Accessibility & contrast

On white

8.91
#56388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#56388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56388F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56388F#FFFFFF#000000##FFFFFF
##56388F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#11488D
Tritanopia (blue-blind)
#484B5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #56388f;
/* rgb */ color: rgb(86, 56, 143);
/* oklch */ color: oklch(42.2% 0.138 295.8);
Tailwind
colors: {
  custom: {
    50: '#8a70b0',
    500: '#56388f',
    950: '#000000',
  },
}
SCSS
$custom: #56388f;
$custom-light: #8a70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#56388f",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 260.69,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.138,
    "h": 295.8
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#56388F
secondary
#9CB370
accent
#D354A8
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #56388F

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

Preview Lab → · Contrast checker → · Palette generator →

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