#56269A#56269A

#56269A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.175 H 296.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#56269A
RGBrgb(86, 38, 154)
HSLhsl(265, 60%, 38%)
HSVhsv(265, 75%, 60%)
CMYKcmyk(44.2%, 75.3%, 0%, 39.6%)
CIE-LABlab(28.64, 46.46, -54.78)
CIE-LCHlch(28.64, 71.83, 310.30°)
OKLaboklab(40.57% 0.0783 -0.1568)
OKLCHoklch(40.57% 0.175 296.5)
XYZxyz(10.3621, 5.6975, 31.1194)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56269A #6A9A26
analogous
#26309A #56269A #90269A
triadic
#56269A #9A5626 #269A56
tetradic
#56269A #9A2630 #6A9A26 #269A90
square
#56269A #9A2630 #6A9A26 #269A90
split-complementary
#56269A #9A9026 #309A26
monochromatic
#1F0E38 #3B1A69 #56269A #7132CB #9362D8

Accessibility & contrast

On white

9.81
#56269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#56269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56269A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56269A#FFFFFF#000000##FFFFFF
##56269A1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56269a;
/* rgb */ color: rgb(86, 38, 154);
/* oklch */ color: oklch(40.6% 0.175 296.5);
Tailwind
colors: {
  custom: {
    50: '#8c65b9',
    500: '#56269a',
    950: '#000000',
  },
}
SCSS
$custom: #56269a;
$custom-light: #8c65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56269a",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 264.828,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.17527,
    "h": 296.5
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#56269A
secondary
#96BE5E
accent
#E444A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56269A

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

Preview Lab → · Contrast checker → · Palette generator →

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