#56458F#56458F

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

Color values

HEX#56458F
RGBrgb(86, 69, 143)
HSLhsl(254, 35%, 42%)
HSVhsv(254, 52%, 56%)
CMYKcmyk(39.9%, 51.7%, 0%, 43.9%)
CIE-LABlab(34.43, 25.71, -38.69)
CIE-LCHlch(34.43, 46.45, 303.61°)
OKLaboklab(44.52% 0.0431 -0.1095)
OKLCHoklch(44.52% 0.118 291.5)
XYZxyz(10.9225, 8.2176, 26.9919)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56458F #7E8F45
analogous
#45598F #56458F #7B458F
triadic
#56458F #8F5645 #458F56
tetradic
#56458F #8F4559 #7E8F45 #458F7B
square
#56458F #8F4559 #7E8F45 #458F7B
split-complementary
#56458F #8F7B45 #598F45
monochromatic
#241D3C #3D3166 #56458F #725FB2 #9789C6

Accessibility & contrast

On white

7.94
#56458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56458F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56458F#FFFFFF#000000##FFFFFF
##56458F1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#2A4F8D
Tritanopia (blue-blind)
#475463
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #56458f;
/* rgb */ color: rgb(86, 69, 143);
/* oklch */ color: oklch(44.5% 0.118 291.5);
Tailwind
colors: {
  custom: {
    50: '#8979b0',
    500: '#56458f',
    950: '#000000',
  },
}
SCSS
$custom: #56458f;
$custom-light: #8979b0;
$custom-dark: #000000;
JSON
{
  "hex": "#56458f",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 253.784,
    "s": 34.906,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44524,
    "c": 0.11771,
    "h": 291.5
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#56458F
secondary
#A6B17F
accent
#CB5DB2
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #56458F

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

Preview Lab → · Contrast checker → · Palette generator →

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