#5629AC#5629AC

#5629AC is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.192 H 291.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#5629AC
RGBrgb(86, 41, 172)
HSLhsl(261, 62%, 42%)
HSVhsv(261, 76%, 67%)
CMYKcmyk(50%, 76.2%, 0%, 32.5%)
CIE-LABlab(30.74, 49.88, -62.23)
CIE-LCHlch(30.74, 79.75, 308.71°)
OKLaboklab(42.54% 0.0711 -0.1787)
OKLCHoklch(42.54% 0.192 291.7)
XYZxyz(12.0750, 6.5424, 39.6483)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5629AC #7FAC29
analogous
#293EAC #5629AC #9829AC
triadic
#5629AC #AC5629 #29AC56
tetradic
#5629AC #AC293E #7FAC29 #29AC98
square
#5629AC #AC293E #7FAC29 #29AC98
split-complementary
#5629AC #AC9829 #3EAC29
monochromatic
#251149 #3D1D7B #5629AC #7241D2 #9772DD

Accessibility & contrast

On white

9.10
#5629AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5629AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5629AC
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5629AC#FFFFFF#000000##FFFFFF
##5629AC1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#394D69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5629ac;
/* rgb */ color: rgb(86, 41, 172);
/* oklch */ color: oklch(42.5% 0.192 291.7);
Tailwind
colors: {
  custom: {
    50: '#8e68c6',
    500: '#5629ac',
    950: '#000000',
  },
}
SCSS
$custom: #5629ac;
$custom-light: #8e68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5629ac",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 260.611,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.19229,
    "h": 291.7
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#5629AC
secondary
#A6C56C
accent
#E543AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5629AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5629AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva