#56358F#56358F

#56358F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.7% C 0.142 H 296.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#56358F
RGBrgb(86, 53, 143)
HSLhsl(262, 46%, 38%)
HSVhsv(262, 63%, 56%)
CMYKcmyk(39.9%, 62.9%, 0%, 43.9%)
CIE-LABlab(30.66, 35.46, -44.75)
CIE-LCHlch(30.66, 57.09, 308.39°)
OKLaboklab(41.74% 0.0638 -0.1274)
OKLCHoklch(41.74% 0.142 296.6)
XYZxyz(10.0675, 6.5076, 26.7070)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56358F #6E8F35
analogous
#35418F #56358F #83358F
triadic
#56358F #8F5635 #358F56
tetradic
#56358F #8F3541 #6E8F35 #358F83
square
#56358F #8F3541 #6E8F35 #358F83
split-complementary
#56358F #8F8335 #418F35
monochromatic
#201436 #3B2462 #56358F #7147BB #9373CB

Accessibility & contrast

On white

9.12
#56358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#56358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56358F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56358F#FFFFFF#000000##FFFFFF
##56358F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#07478D
Tritanopia (blue-blind)
#48495D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #56358f;
/* rgb */ color: rgb(86, 53, 143);
/* oklch */ color: oklch(41.7% 0.142 296.6);
Tailwind
colors: {
  custom: {
    50: '#8a6eb0',
    500: '#56358f',
    950: '#000000',
  },
}
SCSS
$custom: #56358f;
$custom-light: #8a6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#56358f",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 262,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.14247,
    "h": 296.6
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#56358F
secondary
#99B46C
accent
#D652A5
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #56358F

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

Preview Lab → · Contrast checker → · Palette generator →

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