#56368D#56368D

#56368D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.138 H 296.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#56368D
RGBrgb(86, 54, 141)
HSLhsl(262, 45%, 38%)
HSVhsv(262, 62%, 55%)
CMYKcmyk(39%, 61.7%, 0%, 44.7%)
CIE-LABlab(30.74, 34.31, -43.39)
CIE-LCHlch(30.74, 55.32, 308.33°)
OKLaboklab(41.75% 0.0627 -0.1234)
OKLCHoklch(41.75% 0.138 296.9)
XYZxyz(9.9634, 6.5397, 25.9315)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56368D #6D8D36
analogous
#36418D #56368D #81368D
triadic
#56368D #8D5636 #368D56
tetradic
#56368D #8D3641 #6D8D36 #368D81
square
#56368D #8D3641 #6D8D36 #368D81
split-complementary
#56368D #8D8136 #418D36
monochromatic
#201434 #3B2561 #56368D #7147B9 #9374CA

Accessibility & contrast

On white

9.10
#56368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#56368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56368D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56368D#FFFFFF#000000##FFFFFF
##56368D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#10478B
Tritanopia (blue-blind)
#49495C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #56368d;
/* rgb */ color: rgb(86, 54, 141);
/* oklch */ color: oklch(41.8% 0.138 296.9);
Tailwind
colors: {
  custom: {
    50: '#8a6eaf',
    500: '#56368d',
    950: '#000000',
  },
}
SCSS
$custom: #56368d;
$custom-light: #8a6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#56368d",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 262.069,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4175,
    "c": 0.13841,
    "h": 296.9
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#56368D
secondary
#99B26D
accent
#D453A5
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #56368D

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

Preview Lab → · Contrast checker → · Palette generator →

#56368D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva