#56269E#56269E

#56269E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.180 H 295.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#56269E
RGBrgb(86, 38, 158)
HSLhsl(264, 61%, 38%)
HSVhsv(264, 76%, 62%)
CMYKcmyk(45.6%, 75.9%, 0%, 38%)
CIE-LABlab(28.99, 47.52, -56.65)
CIE-LCHlch(28.99, 73.94, 309.99°)
OKLaboklab(40.92% 0.0773 -0.1623)
OKLCHoklch(40.92% 0.18 295.5)
XYZxyz(10.7008, 5.8330, 32.9032)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56269E #6E9E26
analogous
#26329E #56269E #92269E
triadic
#56269E #9E5626 #269E56
tetradic
#56269E #9E2632 #6E9E26 #269E92
square
#56269E #9E2632 #6E9E26 #269E92
split-complementary
#56269E #9E9226 #329E26
monochromatic
#200E3B #3B1A6D #56269E #7133CE #9365DA

Accessibility & contrast

On white

9.69
#56269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#56269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56269E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56269E#FFFFFF#000000##FFFFFF
##56269E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56269e;
/* rgb */ color: rgb(86, 38, 158);
/* oklch */ color: oklch(40.9% 0.180 295.5);
Tailwind
colors: {
  custom: {
    50: '#8d66bc',
    500: '#56269e',
    950: '#000000',
  },
}
SCSS
$custom: #56269e;
$custom-light: #8d66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56269e",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 264,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.17976,
    "h": 295.5
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#56269E
secondary
#99C060
accent
#E443A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56269E

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

Preview Lab → · Contrast checker → · Palette generator →

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