#56458E#56458E

#56458E is a dark, moderate violet. Relative luminance 0.082; OKLCH L 44.5% C 0.116 H 291.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#56458E
RGBrgb(86, 69, 142)
HSLhsl(254, 35%, 41%)
HSVhsv(254, 51%, 56%)
CMYKcmyk(39.4%, 51.4%, 0%, 44.3%)
CIE-LABlab(34.37, 25.42, -38.17)
CIE-LCHlch(34.37, 45.86, 303.65°)
OKLaboklab(44.46% 0.043 -0.108)
OKLCHoklch(44.46% 0.116 291.7)
XYZxyz(10.8471, 8.1874, 26.5948)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56458E #7D8E45
analogous
#45598E #56458E #7B458E
triadic
#56458E #8E5645 #458E56
tetradic
#56458E #8E4559 #7D8E45 #458E7B
square
#56458E #8E4559 #7D8E45 #458E7B
split-complementary
#56458E #8E7B45 #598E45
monochromatic
#241D3C #3D3165 #56458E #725FB1 #9688C5

Accessibility & contrast

On white

7.96
#56458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#56458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56458E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56458E#FFFFFF#000000##FFFFFF
##56458E1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#485463
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #56458e;
/* rgb */ color: rgb(86, 69, 142);
/* oklch */ color: oklch(44.5% 0.116 291.7);
Tailwind
colors: {
  custom: {
    50: '#8979af',
    500: '#56458e',
    950: '#000000',
  },
}
SCSS
$custom: #56458e;
$custom-light: #8979af;
$custom-dark: #000000;
JSON
{
  "hex": "#56458e",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 253.973,
    "s": 34.597,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44458,
    "c": 0.11628,
    "h": 291.7
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#56458E
secondary
#A5B07E
accent
#CB5DB1
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #56458E

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

Preview Lab → · Contrast checker → · Palette generator →

#56458E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva