#56358D#56358D

#56358D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.140 H 297.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#56358D
RGBrgb(86, 53, 141)
HSLhsl(263, 45%, 38%)
HSVhsv(263, 62%, 55%)
CMYKcmyk(39%, 62.4%, 0%, 44.7%)
CIE-LABlab(30.51, 34.90, -43.75)
CIE-LCHlch(30.51, 55.96, 308.58°)
OKLaboklab(41.59% 0.064 -0.1244)
OKLCHoklch(41.59% 0.14 297.2)
XYZxyz(9.9173, 6.4476, 25.9161)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56358D #6C8D35
analogous
#35408D #56358D #82358D
triadic
#56358D #8D5635 #358D56
tetradic
#56358D #8D3540 #6C8D35 #358D82
square
#56358D #8D3540 #6C8D35 #358D82
split-complementary
#56358D #8D8235 #408D35
monochromatic
#201434 #3B2461 #56358D #7146B9 #9372CA

Accessibility & contrast

On white

9.17
#56358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#56358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56358D
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56358D#FFFFFF#000000##FFFFFF
##56358D1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#0D478B
Tritanopia (blue-blind)
#49485C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #56358d;
/* rgb */ color: rgb(86, 53, 141);
/* oklch */ color: oklch(41.6% 0.140 297.2);
Tailwind
colors: {
  custom: {
    50: '#8a6eaf',
    500: '#56358d',
    950: '#000000',
  },
}
SCSS
$custom: #56358d;
$custom-light: #8a6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#56358d",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 262.5,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4159,
    "c": 0.1399,
    "h": 297.2
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#56358D
secondary
#98B26B
accent
#D553A4
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #56358D

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

Preview Lab → · Contrast checker → · Palette generator →

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