#56249F#56249F

#56249F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.183 H 295.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#56249F
RGBrgb(86, 36, 159)
HSLhsl(264, 63%, 38%)
HSVhsv(264, 77%, 62%)
CMYKcmyk(45.9%, 77.4%, 0%, 37.6%)
CIE-LABlab(28.75, 48.71, -57.64)
CIE-LCHlch(28.75, 75.46, 310.20°)
OKLaboklab(40.78% 0.0788 -0.1652)
OKLCHoklch(40.78% 0.183 295.5)
XYZxyz(10.7250, 5.7431, 33.3376)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56249F #6D9F24
analogous
#24309F #56249F #93249F
triadic
#56249F #9F5624 #249F56
tetradic
#56249F #9F2430 #6D9F24 #249F93
square
#56249F #9F2430 #6D9F24 #249F93
split-complementary
#56249F #9F9324 #309F24
monochromatic
#200D3B #3B196D #56249F #7130D0 #9362DB

Accessibility & contrast

On white

9.77
#56249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#56249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56249F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56249F#FFFFFF#000000##FFFFFF
##56249F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#414560
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #56249f;
/* rgb */ color: rgb(86, 36, 159);
/* oklch */ color: oklch(40.8% 0.183 295.5);
Tailwind
colors: {
  custom: {
    50: '#8d65bc',
    500: '#56249f',
    950: '#000000',
  },
}
SCSS
$custom: #56249f;
$custom-light: #8d65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56249f",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 264.39,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.18299,
    "h": 295.5
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#56249F
secondary
#99C15E
accent
#E642A3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56249F

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

Preview Lab → · Contrast checker → · Palette generator →

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