#5625A2#5625A2

#5625A2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.185 H 294.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#5625A2
RGBrgb(86, 37, 162)
HSLhsl(264, 63%, 39%)
HSVhsv(264, 77%, 64%)
CMYKcmyk(46.9%, 77.2%, 0%, 36.5%)
CIE-LABlab(29.18, 49.04, -58.75)
CIE-LCHlch(29.18, 76.53, 309.85°)
OKLaboklab(41.17% 0.0771 -0.1684)
OKLCHoklch(41.17% 0.185 294.6)
XYZxyz(11.0191, 5.9099, 34.7356)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625A2 #71A225
analogous
#2533A2 #5625A2 #9525A2
triadic
#5625A2 #A25625 #25A256
tetradic
#5625A2 #A22533 #71A225 #25A295
square
#5625A2 #A22533 #71A225 #25A295
split-complementary
#5625A2 #A29525 #33A225
monochromatic
#210E3E #3C1A70 #5625A2 #7134D1 #9465DC

Accessibility & contrast

On white

9.62
#5625A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5625A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625A2
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625A2#FFFFFF#000000##FFFFFF
##5625A21.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#404762
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5625a2;
/* rgb */ color: rgb(86, 37, 162);
/* oklch */ color: oklch(41.2% 0.185 294.6);
Tailwind
colors: {
  custom: {
    50: '#8d65bf',
    500: '#5625a2',
    950: '#000000',
  },
}
SCSS
$custom: #5625a2;
$custom-light: #8d65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5625a2",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 263.52,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.18526,
    "h": 294.6
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#5625A2
secondary
#9CC261
accent
#E642A6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5625A2

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

Preview Lab → · Contrast checker → · Palette generator →

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