#56348C#56348C

#56348C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.140 H 297.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#56348C
RGBrgb(86, 52, 140)
HSLhsl(263, 46%, 38%)
HSVhsv(263, 63%, 55%)
CMYKcmyk(38.6%, 62.9%, 0%, 45.1%)
CIE-LABlab(30.22, 35.20, -43.60)
CIE-LCHlch(30.22, 56.04, 308.92°)
OKLaboklab(41.36% 0.0653 -0.124)
OKLCHoklch(41.36% 0.14 297.8)
XYZxyz(9.7982, 6.3277, 25.5110)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56348C #6A8C34
analogous
#343E8C #56348C #82348C
triadic
#56348C #8C5634 #348C56
tetradic
#56348C #8C343E #6A8C34 #348C82
square
#56348C #8C343E #6A8C34 #348C82
split-complementary
#56348C #8C8234 #3E8C34
monochromatic
#1F1333 #3B235F #56348C #7145B9 #9370CA

Accessibility & contrast

On white

9.27
#56348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#56348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56348C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56348C#FFFFFF#000000##FFFFFF
##56348C1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#0D468A
Tritanopia (blue-blind)
#49475B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #56348c;
/* rgb */ color: rgb(86, 52, 140);
/* oklch */ color: oklch(41.4% 0.140 297.8);
Tailwind
colors: {
  custom: {
    50: '#8a6dae',
    500: '#56348c',
    950: '#000000',
  },
}
SCSS
$custom: #56348c;
$custom-light: #8a6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#56348c",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 263.182,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41356,
    "c": 0.14011,
    "h": 297.8
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#56348C
secondary
#96B26A
accent
#D552A3
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #56348C

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

Preview Lab → · Contrast checker → · Palette generator →

#56348C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva