#5625A9#5625A9

#5625A9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.193 H 292.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5625A9
RGBrgb(86, 37, 169)
HSLhsl(262, 64%, 40%)
HSVhsv(262, 78%, 66%)
CMYKcmyk(49.1%, 78.1%, 0%, 33.7%)
CIE-LABlab(29.83, 50.90, -61.93)
CIE-LCHlch(29.83, 80.16, 309.42°)
OKLaboklab(41.82% 0.0751 -0.1778)
OKLCHoklch(41.82% 0.193 292.9)
XYZxyz(11.6588, 6.1657, 38.1042)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625A9 #78A925
analogous
#2536A9 #5625A9 #9825A9
triadic
#5625A9 #A95625 #25A956
tetradic
#5625A9 #A92536 #78A925 #25A998
square
#5625A9 #A92536 #78A925 #25A998
split-complementary
#5625A9 #A99825 #36A925
monochromatic
#230F45 #3C1A77 #5625A9 #7238D3 #956ADE

Accessibility & contrast

On white

9.40
#5625A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5625A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625A9
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625A9#FFFFFF#000000##FFFFFF
##5625A91.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#3C4A66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5625a9;
/* rgb */ color: rgb(86, 37, 169);
/* oklch */ color: oklch(41.8% 0.193 292.9);
Tailwind
colors: {
  custom: {
    50: '#8e66c4',
    500: '#5625a9',
    950: '#000000',
  },
}
SCSS
$custom: #5625a9;
$custom-light: #8e66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5625a9",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 262.273,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41815,
    "c": 0.19297,
    "h": 292.9
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#5625A9
secondary
#A1C465
accent
#E741A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5625A9

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

Preview Lab → · Contrast checker → · Palette generator →

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