#56259A#56259A

#56259A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.176 H 296.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#56259A
RGBrgb(86, 37, 154)
HSLhsl(265, 61%, 37%)
HSVhsv(265, 76%, 60%)
CMYKcmyk(44.2%, 76%, 0%, 39.6%)
CIE-LABlab(28.47, 46.93, -55.05)
CIE-LCHlch(28.47, 72.34, 310.45°)
OKLaboklab(40.45% 0.0792 -0.1576)
OKLCHoklch(40.45% 0.176 296.7)
XYZxyz(10.3305, 5.6344, 31.1089)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56259A #699A25
analogous
#252F9A #56259A #91259A
triadic
#56259A #9A5625 #259A56
tetradic
#56259A #9A252F #699A25 #259A91
square
#56259A #9A252F #699A25 #259A91
split-complementary
#56259A #9A9125 #2F9A25
monochromatic
#1F0D37 #3A1969 #56259A #7231CB #9360D9

Accessibility & contrast

On white

9.87
#56259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#56259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56259A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56259A#FFFFFF#000000##FFFFFF
##56259A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#44445E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #56259a;
/* rgb */ color: rgb(86, 37, 154);
/* oklch */ color: oklch(40.4% 0.176 296.7);
Tailwind
colors: {
  custom: {
    50: '#8c65b9',
    500: '#56259a',
    950: '#000000',
  },
}
SCSS
$custom: #56259a;
$custom-light: #8c65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56259a",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 265.128,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.17639,
    "h": 296.7
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#56259A
secondary
#95BE5D
accent
#E443A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56259A

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

Preview Lab → · Contrast checker → · Palette generator →

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