#5625A5#5625A5

#5625A5 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.189 H 293.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#5625A5
RGBrgb(86, 37, 165)
HSLhsl(263, 63%, 40%)
HSVhsv(263, 78%, 65%)
CMYKcmyk(47.9%, 77.6%, 0%, 35.3%)
CIE-LABlab(29.46, 49.84, -60.12)
CIE-LCHlch(29.46, 78.09, 309.66°)
OKLaboklab(41.44% 0.0763 -0.1725)
OKLCHoklch(41.44% 0.189 293.9)
XYZxyz(11.2890, 6.0178, 36.1568)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625A5 #74A525
analogous
#2534A5 #5625A5 #9625A5
triadic
#5625A5 #A55625 #25A556
tetradic
#5625A5 #A52534 #74A525 #25A596
square
#5625A5 #A52534 #74A525 #25A596
split-complementary
#5625A5 #A59625 #34A525
monochromatic
#220F41 #3C1A73 #5625A5 #7135D2 #9467DD

Accessibility & contrast

On white

9.53
#5625A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5625A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625A5
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625A5#FFFFFF#000000##FFFFFF
##5625A51.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#3E4864
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5625a5;
/* rgb */ color: rgb(86, 37, 165);
/* oklch */ color: oklch(41.4% 0.189 293.9);
Tailwind
colors: {
  custom: {
    50: '#8e65c1',
    500: '#5625a5',
    950: '#000000',
  },
}
SCSS
$custom: #5625a5;
$custom-light: #8e65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5625a5",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 262.969,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41444,
    "c": 0.18857,
    "h": 293.9
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#5625A5
secondary
#9EC363
accent
#E641A7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5625A5

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

Preview Lab → · Contrast checker → · Palette generator →

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