#56267E#56267E

#56267E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.143 H 305.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#56267E
RGBrgb(86, 38, 126)
HSLhsl(273, 54%, 32%)
HSVhsv(273, 70%, 49%)
CMYKcmyk(31.7%, 69.8%, 0%, 50.6%)
CIE-LABlab(26.36, 39.19, -41.10)
CIE-LCHlch(26.36, 56.78, 313.64°)
OKLaboklab(38.24% 0.0836 -0.1166)
OKLCHoklch(38.24% 0.143 305.6)
XYZxyz(8.2959, 4.8711, 20.2378)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56267E #4E7E26
analogous
#2A267E #56267E #7E267A
triadic
#56267E #7E5626 #267E56
tetradic
#56267E #7E2A26 #4E7E26 #267A7E
square
#56267E #7E2A26 #4E7E26 #267A7E
split-complementary
#56267E #7A7E26 #267E2A
monochromatic
#160A20 #36184F #56267E #7634AD #9553CB

Accessibility & contrast

On white

10.64
#56267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#56267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56267E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56267E#FFFFFF#000000##FFFFFF
##56267E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#0B3F7C
Tritanopia (blue-blind)
#4F394F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #56267e;
/* rgb */ color: rgb(86, 38, 126);
/* oklch */ color: oklch(38.2% 0.143 305.6);
Tailwind
colors: {
  custom: {
    50: '#8964a4',
    500: '#56267e',
    950: '#000000',
  },
}
SCSS
$custom: #56267e;
$custom-light: #8964a4;
$custom-dark: #000000;
JSON
{
  "hex": "#56267e",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 272.727,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38241,
    "c": 0.14344,
    "h": 305.6
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#56267E
secondary
#7CB050
accent
#DD4B8D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #56267E

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

Preview Lab → · Contrast checker → · Palette generator →

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