#56269B#56269B

#56269B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.176 H 296.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#56269B
RGBrgb(86, 38, 155)
HSLhsl(265, 61%, 38%)
HSVhsv(265, 75%, 61%)
CMYKcmyk(44.5%, 75.5%, 0%, 39.2%)
CIE-LABlab(28.72, 46.73, -55.25)
CIE-LCHlch(28.72, 72.36, 310.22°)
OKLaboklab(40.65% 0.0781 -0.1582)
OKLCHoklch(40.65% 0.176 296.3)
XYZxyz(10.4457, 5.7310, 31.5598)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56269B #6B9B26
analogous
#26319B #56269B #90269B
triadic
#56269B #9B5626 #269B56
tetradic
#56269B #9B2631 #6B9B26 #269B90
square
#56269B #9B2631 #6B9B26 #269B90
split-complementary
#56269B #9B9026 #319B26
monochromatic
#1F0E39 #3B1A6A #56269B #7132CC #9363D9

Accessibility & contrast

On white

9.78
#56269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#56269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56269B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56269B#FFFFFF#000000##FFFFFF
##56269B1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#43455F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #56269b;
/* rgb */ color: rgb(86, 38, 155);
/* oklch */ color: oklch(40.7% 0.176 296.3);
Tailwind
colors: {
  custom: {
    50: '#8c65b9',
    500: '#56269b',
    950: '#000000',
  },
}
SCSS
$custom: #56269b;
$custom-light: #8c65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56269b",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 264.615,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.1764,
    "h": 296.3
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#56269B
secondary
#97BE5F
accent
#E444A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56269B

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

Preview Lab → · Contrast checker → · Palette generator →

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