#56368F#56368F

#56368F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.9% C 0.141 H 296.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#56368F
RGBrgb(86, 54, 143)
HSLhsl(262, 45%, 39%)
HSVhsv(262, 62%, 56%)
CMYKcmyk(39.9%, 62.2%, 0%, 43.9%)
CIE-LABlab(30.88, 34.87, -44.39)
CIE-LCHlch(30.88, 56.45, 308.15°)
OKLaboklab(41.9% 0.0626 -0.1263)
OKLCHoklch(41.9% 0.141 296.4)
XYZxyz(10.1136, 6.5998, 26.7223)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56368F #6F8F36
analogous
#36428F #56368F #82368F
triadic
#56368F #8F5636 #368F56
tetradic
#56368F #8F3642 #6F8F36 #368F82
square
#56368F #8F3642 #6F8F36 #368F82
split-complementary
#56368F #8F8236 #428F36
monochromatic
#211436 #3B2563 #56368F #7148BA #9475CB

Accessibility & contrast

On white

9.05
#56368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#56368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56368F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56368F#FFFFFF#000000##FFFFFF
##56368F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#0B478D
Tritanopia (blue-blind)
#484A5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #56368f;
/* rgb */ color: rgb(86, 54, 143);
/* oklch */ color: oklch(41.9% 0.141 296.4);
Tailwind
colors: {
  custom: {
    50: '#8a6fb0',
    500: '#56368f',
    950: '#000000',
  },
}
SCSS
$custom: #56368f;
$custom-light: #8a6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#56368f",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 261.573,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.419,
    "c": 0.14099,
    "h": 296.4
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#56368F
secondary
#9AB36D
accent
#D553A6
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #56368F

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

Preview Lab → · Contrast checker → · Palette generator →

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