#5629AF#5629AF

#5629AF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.196 H 291.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#5629AF
RGBrgb(86, 41, 175)
HSLhsl(260, 62%, 42%)
HSVhsv(260, 77%, 69%)
CMYKcmyk(50.9%, 76.6%, 0%, 31.4%)
CIE-LABlab(31.02, 50.70, -63.57)
CIE-LCHlch(31.02, 81.31, 308.57°)
OKLaboklab(42.82% 0.0703 -0.1826)
OKLCHoklch(42.82% 0.196 291)
XYZxyz(12.3663, 6.6590, 41.1828)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5629AF #82AF29
analogous
#293FAF #5629AF #9929AF
triadic
#5629AF #AF5629 #29AF56
tetradic
#5629AF #AF293F #82AF29 #29AF99
square
#5629AF #AF293F #82AF29 #29AF99
split-complementary
#5629AF #AF9929 #3FAF29
monochromatic
#25124C #3E1D7D #5629AF #7342D3 #9874DE

Accessibility & contrast

On white

9.01
#5629AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5629AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5629AF
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5629AF#FFFFFF#000000##FFFFFF
##5629AF1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#374E6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5629af;
/* rgb */ color: rgb(86, 41, 175);
/* oklch */ color: oklch(42.8% 0.196 291.0);
Tailwind
colors: {
  custom: {
    50: '#8f68c8',
    500: '#5629af',
    950: '#000000',
  },
}
SCSS
$custom: #5629af;
$custom-light: #8f68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5629af",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 260.149,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.19566,
    "h": 291
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#5629AF
secondary
#A8C66E
accent
#E543AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5629AF

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

Preview Lab → · Contrast checker → · Palette generator →

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