#56269F#56269F

#56269F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.181 H 295.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#56269F
RGBrgb(86, 38, 159)
HSLhsl(264, 61%, 39%)
HSVhsv(264, 76%, 62%)
CMYKcmyk(45.9%, 76.1%, 0%, 37.6%)
CIE-LABlab(29.08, 47.79, -57.11)
CIE-LCHlch(29.08, 74.47, 309.92°)
OKLaboklab(41.01% 0.0771 -0.1636)
OKLCHoklch(41.01% 0.181 295.2)
XYZxyz(10.7872, 5.8676, 33.3584)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56269F #6F9F26
analogous
#26329F #56269F #92269F
triadic
#56269F #9F5626 #269F56
tetradic
#56269F #9F2632 #6F9F26 #269F92
square
#56269F #9F2632 #6F9F26 #269F92
split-complementary
#56269F #9F9226 #329F26
monochromatic
#210E3C #3B1A6E #56269F #7134CE #9465DA

Accessibility & contrast

On white

9.66
#56269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56269F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56269F#FFFFFF#000000##FFFFFF
##56269F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#414661
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56269f;
/* rgb */ color: rgb(86, 38, 159);
/* oklch */ color: oklch(41.0% 0.181 295.2);
Tailwind
colors: {
  custom: {
    50: '#8d66bc',
    500: '#56269f',
    950: '#000000',
  },
}
SCSS
$custom: #56269f;
$custom-light: #8d66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56269f",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 263.802,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4101,
    "c": 0.18088,
    "h": 295.2
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#56269F
secondary
#9AC061
accent
#E543A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56269F

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

Preview Lab → · Contrast checker → · Palette generator →

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