#5625AE#5625AE

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

Color values

HEX#5625AE
RGBrgb(86, 37, 174)
HSLhsl(261, 65%, 41%)
HSVhsv(261, 79%, 68%)
CMYKcmyk(50.6%, 78.7%, 0%, 31.8%)
CIE-LABlab(30.30, 52.23, -64.16)
CIE-LCHlch(30.30, 82.73, 309.15°)
OKLaboklab(42.29% 0.0736 -0.1843)
OKLCHoklch(42.29% 0.198 291.8)
XYZxyz(12.1371, 6.3571, 40.6237)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625AE #7DAE25
analogous
#2539AE #5625AE #9B25AE
triadic
#5625AE #AE5625 #25AE56
tetradic
#5625AE #AE2539 #7DAE25 #25AE9B
square
#5625AE #AE2539 #7DAE25 #25AE9B
split-complementary
#5625AE #AE9B25 #39AE25
monochromatic
#241049 #3D1A7C #5625AE #723BD5 #966DE0

Accessibility & contrast

On white

9.24
#5625AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5625AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625AE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625AE#FFFFFF#000000##FFFFFF
##5625AE1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#384C69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5625ae;
/* rgb */ color: rgb(86, 37, 174);
/* oklch */ color: oklch(42.3% 0.198 291.8);
Tailwind
colors: {
  custom: {
    50: '#8f66c7',
    500: '#5625ae',
    950: '#000000',
  },
}
SCSS
$custom: #5625ae;
$custom-light: #8f66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5625ae",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 261.46,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.19844,
    "h": 291.8
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#5625AE
secondary
#A5C668
accent
#E840AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5625AE

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

Preview Lab → · Contrast checker → · Palette generator →

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