#5626A3#5626A3

#5626A3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.185 H 294.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#5626A3
RGBrgb(86, 38, 163)
HSLhsl(263, 62%, 39%)
HSVhsv(263, 77%, 64%)
CMYKcmyk(47.2%, 76.7%, 0%, 36.1%)
CIE-LABlab(29.43, 48.85, -58.95)
CIE-LCHlch(29.43, 76.56, 309.65°)
OKLaboklab(41.37% 0.076 -0.169)
OKLCHoklch(41.37% 0.185 294.2)
XYZxyz(11.1399, 6.0087, 35.2161)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626A3 #73A326
analogous
#2635A3 #5626A3 #9526A3
triadic
#5626A3 #A35626 #26A356
tetradic
#5626A3 #A32635 #73A326 #26A395
square
#5626A3 #A32635 #73A326 #26A395
split-complementary
#5626A3 #A39526 #35A326
monochromatic
#220F40 #3C1A71 #5626A3 #7136D0 #9468DC

Accessibility & contrast

On white

9.54
#5626A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5626A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5626A3
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626A3#FFFFFF#000000##FFFFFF
##5626A31.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#3F4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5626a3;
/* rgb */ color: rgb(86, 38, 163);
/* oklch */ color: oklch(41.4% 0.185 294.2);
Tailwind
colors: {
  custom: {
    50: '#8d66bf',
    500: '#5626a3',
    950: '#000000',
  },
}
SCSS
$custom: #5626a3;
$custom-light: #8d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5626a3",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 263.04,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.18533,
    "h": 294.2
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#5626A3
secondary
#9DC263
accent
#E543A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5626A3

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

Preview Lab → · Contrast checker → · Palette generator →

#5626A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva