#56268B#56268B

#56268B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.158 H 301.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#56268B
RGBrgb(86, 38, 139)
HSLhsl(269, 57%, 35%)
HSVhsv(269, 73%, 55%)
CMYKcmyk(38.1%, 72.7%, 0%, 45.5%)
CIE-LABlab(27.38, 42.52, -47.59)
CIE-LCHlch(27.38, 63.82, 311.78°)
OKLaboklab(39.28% 0.0816 -0.1357)
OKLCHoklch(39.28% 0.158 301)
XYZxyz(9.1899, 5.2287, 24.9462)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56268B #5B8B26
analogous
#26298B #56268B #89268B
triadic
#56268B #8B5626 #268B56
tetradic
#56268B #8B2629 #5B8B26 #268B89
square
#56268B #8B2629 #5B8B26 #268B89
split-complementary
#56268B #8B8926 #298B26
monochromatic
#1B0C2B #38195B #56268B #7433BB #935AD2

Accessibility & contrast

On white

10.26
#56268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#56268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56268B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56268B#FFFFFF#000000##FFFFFF
##56268B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#4A3E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #56268b;
/* rgb */ color: rgb(86, 38, 139);
/* oklch */ color: oklch(39.3% 0.158 301.0);
Tailwind
colors: {
  custom: {
    50: '#8b65ae',
    500: '#56268b',
    950: '#000000',
  },
}
SCSS
$custom: #56268b;
$custom-light: #8b65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#56268b",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 268.515,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39282,
    "c": 0.15831,
    "h": 301
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#56268B
secondary
#89B756
accent
#E04798
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #56268B

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

Preview Lab → · Contrast checker → · Palette generator →

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