#56267C#56267C

#56267C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.141 H 306.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#56267C
RGBrgb(86, 38, 124)
HSLhsl(273, 53%, 32%)
HSVhsv(273, 69%, 49%)
CMYKcmyk(30.6%, 69.4%, 0%, 51.4%)
CIE-LABlab(26.22, 38.68, -40.07)
CIE-LCHlch(26.22, 55.70, 313.99°)
OKLaboklab(38.09% 0.0838 -0.1136)
OKLCHoklch(38.09% 0.141 306.4)
XYZxyz(8.1682, 4.8200, 19.5649)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56267C #4C7C26
analogous
#2B267C #56267C #7C2677
triadic
#56267C #7C5626 #267C56
tetradic
#56267C #7C2B26 #4C7C26 #26777C
square
#56267C #7C2B26 #4C7C26 #26777C
split-complementary
#56267C #777C26 #267C2B
monochromatic
#15091E #36184D #56267C #7634AB #9552CA

Accessibility & contrast

On white

10.69
#56267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#56267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56267C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56267C#FFFFFF#000000##FFFFFF
##56267C1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#0F3E7A
Tritanopia (blue-blind)
#50394D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #56267c;
/* rgb */ color: rgb(86, 38, 124);
/* oklch */ color: oklch(38.1% 0.141 306.4);
Tailwind
colors: {
  custom: {
    50: '#8964a2',
    500: '#56267c',
    950: '#000000',
  },
}
SCSS
$custom: #56267c;
$custom-light: #8964a2;
$custom-dark: #000000;
JSON
{
  "hex": "#56267c",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 273.488,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38087,
    "c": 0.14115,
    "h": 306.4
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#56267C
secondary
#79AE50
accent
#DC4B8B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #56267C

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

Preview Lab → · Contrast checker → · Palette generator →

#56267C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva