#56259E#56259E

#56259E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.181 H 295.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#56259E
RGBrgb(86, 37, 158)
HSLhsl(264, 62%, 38%)
HSVhsv(264, 77%, 62%)
CMYKcmyk(45.6%, 76.6%, 0%, 38%)
CIE-LABlab(28.82, 47.99, -56.91)
CIE-LCHlch(28.82, 74.44, 310.14°)
OKLaboklab(40.81% 0.0782 -0.163)
OKLCHoklch(40.81% 0.181 295.6)
XYZxyz(10.6692, 5.7699, 32.8927)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56259E #6D9E25
analogous
#25309E #56259E #92259E
triadic
#56259E #9E5625 #259E56
tetradic
#56259E #9E2530 #6D9E25 #259E92
square
#56259E #9E2530 #6D9E25 #259E92
split-complementary
#56259E #9E9225 #309E25
monochromatic
#200E3B #3B196C #56259E #7131CF #9363DA

Accessibility & contrast

On white

9.75
#56259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#56259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56259E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56259E#FFFFFF#000000##FFFFFF
##56259E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#424660
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #56259e;
/* rgb */ color: rgb(86, 37, 158);
/* oklch */ color: oklch(40.8% 0.181 295.6);
Tailwind
colors: {
  custom: {
    50: '#8d65bc',
    500: '#56259e',
    950: '#000000',
  },
}
SCSS
$custom: #56259e;
$custom-light: #8d65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56259e",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 264.298,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.18083,
    "h": 295.6
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#56259E
secondary
#99C05F
accent
#E543A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56259E

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

Preview Lab → · Contrast checker → · Palette generator →

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