#5625A0#5625A0

#5625A0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.183 H 295.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#5625A0
RGBrgb(86, 37, 160)
HSLhsl(264, 62%, 39%)
HSVhsv(264, 77%, 63%)
CMYKcmyk(46.3%, 76.9%, 0%, 37.3%)
CIE-LABlab(29.00, 48.52, -57.84)
CIE-LCHlch(29.00, 75.49, 309.99°)
OKLaboklab(40.99% 0.0777 -0.1658)
OKLCHoklch(40.99% 0.183 295.1)
XYZxyz(10.8428, 5.8393, 33.8067)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625A0 #6FA025
analogous
#2531A0 #5625A0 #9325A0
triadic
#5625A0 #A05625 #25A056
tetradic
#5625A0 #A02531 #6FA025 #25A093
square
#5625A0 #A02531 #6FA025 #25A093
split-complementary
#5625A0 #A09325 #31A025
monochromatic
#210E3D #3B1A6E #5625A0 #7132D0 #9464DB

Accessibility & contrast

On white

9.69
#5625A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5625A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625A0
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625A0#FFFFFF#000000##FFFFFF
##5625A01.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#414661
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5625a0;
/* rgb */ color: rgb(86, 37, 160);
/* oklch */ color: oklch(41.0% 0.183 295.1);
Tailwind
colors: {
  custom: {
    50: '#8d65bd',
    500: '#5625a0',
    950: '#000000',
  },
}
SCSS
$custom: #5625a0;
$custom-light: #8d65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5625a0",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 263.902,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40987,
    "c": 0.18305,
    "h": 295.1
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#5625A0
secondary
#9AC160
accent
#E642A4
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5625A0

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

Preview Lab → · Contrast checker → · Palette generator →

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