#5625A3#5625A3

#5625A3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.186 H 294.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#5625A3
RGBrgb(86, 37, 163)
HSLhsl(263, 63%, 39%)
HSVhsv(263, 77%, 64%)
CMYKcmyk(47.2%, 77.3%, 0%, 36.1%)
CIE-LABlab(29.27, 49.31, -59.21)
CIE-LCHlch(29.27, 77.06, 309.79°)
OKLaboklab(41.26% 0.0768 -0.1698)
OKLCHoklch(41.26% 0.186 294.3)
XYZxyz(11.1084, 5.9456, 35.2056)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625A3 #72A325
analogous
#2533A3 #5625A3 #9525A3
triadic
#5625A3 #A35625 #25A356
tetradic
#5625A3 #A32533 #72A325 #25A395
square
#5625A3 #A32533 #72A325 #25A395
split-complementary
#5625A3 #A39525 #33A325
monochromatic
#210E3F #3C1A71 #5625A3 #7134D1 #9466DC

Accessibility & contrast

On white

9.59
#5625A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5625A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625A3
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625A3#FFFFFF#000000##FFFFFF
##5625A31.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#3F4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5625a3;
/* rgb */ color: rgb(86, 37, 163);
/* oklch */ color: oklch(41.3% 0.186 294.3);
Tailwind
colors: {
  custom: {
    50: '#8d65bf',
    500: '#5625a3',
    950: '#000000',
  },
}
SCSS
$custom: #5625a3;
$custom-light: #8d65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5625a3",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 263.333,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.18637,
    "h": 294.3
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5625A3

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

Preview Lab → · Contrast checker → · Palette generator →

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