#56347F#56347F

#56347F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.4% C 0.123 H 302.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#56347F
RGBrgb(86, 52, 127)
HSLhsl(267, 42%, 35%)
HSVhsv(267, 59%, 50%)
CMYKcmyk(32.3%, 59.1%, 0%, 50.2%)
CIE-LABlab(29.33, 31.63, -36.95)
CIE-LCHlch(29.33, 48.64, 310.56°)
OKLaboklab(40.41% 0.0655 -0.1045)
OKLCHoklch(40.41% 0.123 302.1)
XYZxyz(8.8956, 5.9667, 20.7576)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56347F #5D7F34
analogous
#34387F #56347F #7B347F
triadic
#56347F #7F5634 #347F56
tetradic
#56347F #7F3438 #5D7F34 #347F7B
square
#56347F #7F3438 #5D7F34 #347F7B
split-complementary
#56347F #7F7B34 #387F34
monochromatic
#1B1028 #392254 #56347F #7346AA #936BC2

Accessibility & contrast

On white

9.57
#56347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#56347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56347F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56347F#FFFFFF#000000##FFFFFF
##56347F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144581
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#4E4354
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56347f;
/* rgb */ color: rgb(86, 52, 127);
/* oklch */ color: oklch(40.4% 0.123 302.1);
Tailwind
colors: {
  custom: {
    50: '#886da4',
    500: '#56347f',
    950: '#000000',
  },
}
SCSS
$custom: #56347f;
$custom-light: #886da4;
$custom-dark: #000000;
JSON
{
  "hex": "#56347f",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 267.2,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.12331,
    "h": 302.1
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#56347F
secondary
#8BAA64
accent
#D2569A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #56347F

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

Preview Lab → · Contrast checker → · Palette generator →

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