#5625C4#5625C4

#5625C4 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.222 H 287.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#5625C4
RGBrgb(86, 37, 196)
HSLhsl(258, 68%, 46%)
HSVhsv(258, 81%, 77%)
CMYKcmyk(56.1%, 81.1%, 0%, 23.1%)
CIE-LABlab(32.45, 58.08, -73.65)
CIE-LCHlch(32.45, 93.80, 308.26°)
OKLaboklab(44.43% 0.0665 -0.212)
OKLCHoklch(44.43% 0.222 287.4)
XYZxyz(14.4602, 7.2863, 52.8583)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625C4 #93C425
analogous
#2543C4 #5625C4 #A525C4
triadic
#5625C4 #C45625 #25C456
tetradic
#5625C4 #C42543 #93C425 #25C4A5
square
#5625C4 #C42543 #93C425 #25C4A5
split-complementary
#5625C4 #C4A525 #43C425
monochromatic
#29125D #3F1B91 #5625C4 #7749DD #9D7DE6

Accessibility & contrast

On white

8.55
#5625C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5625C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625C4
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625C4#FFFFFF#000000##FFFFFF
##5625C41.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#235576
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5625c4;
/* rgb */ color: rgb(86, 37, 196);
/* oklch */ color: oklch(44.4% 0.222 287.4);
Tailwind
colors: {
  custom: {
    50: '#9267d7',
    500: '#5625c4',
    950: '#000000',
  },
}
SCSS
$custom: #5625c4;
$custom-light: #9267d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5625c4",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 258.491,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.22223,
    "h": 287.4
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#5625C4
secondary
#B3CF76
accent
#EB3DB5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5625C4

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

Preview Lab → · Contrast checker → · Palette generator →

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