#56358C#56358C

#56358C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.139 H 297.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#56358C
RGBrgb(86, 53, 140)
HSLhsl(263, 45%, 38%)
HSVhsv(263, 62%, 55%)
CMYKcmyk(38.6%, 62.1%, 0%, 45.1%)
CIE-LABlab(30.44, 34.62, -43.25)
CIE-LCHlch(30.44, 55.40, 308.68°)
OKLaboklab(41.52% 0.064 -0.1229)
OKLCHoklch(41.52% 0.139 297.5)
XYZxyz(9.8433, 6.4179, 25.5260)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56358C #6B8C35
analogous
#353F8C #56358C #82358C
triadic
#56358C #8C5635 #358C56
tetradic
#56358C #8C353F #6B8C35 #358C82
square
#56358C #8C353F #6B8C35 #358C82
split-complementary
#56358C #8C8235 #3F8C35
monochromatic
#1F1333 #3B2460 #56358C #7146B8 #9372CA

Accessibility & contrast

On white

9.20
#56358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#56358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56358C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56358C#FFFFFF#000000##FFFFFF
##56358C1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#10478A
Tritanopia (blue-blind)
#49485B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #56358c;
/* rgb */ color: rgb(86, 53, 140);
/* oklch */ color: oklch(41.5% 0.139 297.5);
Tailwind
colors: {
  custom: {
    50: '#8a6eae',
    500: '#56358c',
    950: '#000000',
  },
}
SCSS
$custom: #56358c;
$custom-light: #8a6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#56358c",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 262.759,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.13861,
    "h": 297.5
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56358C

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

Preview Lab → · Contrast checker → · Palette generator →

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