#5626AE#5626AE

#5626AE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.198 H 291.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5626AE
RGBrgb(86, 38, 174)
HSLhsl(261, 64%, 42%)
HSVhsv(261, 78%, 68%)
CMYKcmyk(50.6%, 78.2%, 0%, 31.8%)
CIE-LABlab(30.45, 51.79, -63.91)
CIE-LCHlch(30.45, 82.26, 309.02°)
OKLaboklab(42.39% 0.0729 -0.1836)
OKLCHoklch(42.39% 0.198 291.6)
XYZxyz(12.1687, 6.4202, 40.6342)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626AE #7EAE26
analogous
#263AAE #5626AE #9A26AE
triadic
#5626AE #AE5626 #26AE56
tetradic
#5626AE #AE263A #7EAE26 #26AE9A
square
#5626AE #AE263A #7EAE26 #26AE9A
split-complementary
#5626AE #AE9A26 #3AAE26
monochromatic
#24104A #3D1B7C #5626AE #723DD5 #976FE0

Accessibility & contrast

On white

9.19
#5626AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5626AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5626AE
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626AE#FFFFFF#000000##FFFFFF
##5626AE1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#384C69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5626ae;
/* rgb */ color: rgb(86, 38, 174);
/* oklch */ color: oklch(42.4% 0.198 291.6);
Tailwind
colors: {
  custom: {
    50: '#8f66c7',
    500: '#5626ae',
    950: '#000000',
  },
}
SCSS
$custom: #5626ae;
$custom-light: #8f66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5626ae",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 261.176,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.1975,
    "h": 291.6
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#5626AE
secondary
#A6C66A
accent
#E741AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5626AE

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

Preview Lab → · Contrast checker → · Palette generator →

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