#5625BC#5625BC

#5625BC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.214 H 288.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#5625BC
RGBrgb(86, 37, 188)
HSLhsl(259, 67%, 44%)
HSVhsv(259, 80%, 74%)
CMYKcmyk(54.3%, 80.3%, 0%, 26.3%)
CIE-LABlab(31.65, 55.96, -70.26)
CIE-LCHlch(31.65, 89.82, 308.54°)
OKLaboklab(43.63% 0.0692 -0.2021)
OKLCHoklch(43.63% 0.214 288.9)
XYZxyz(13.5738, 6.9317, 48.1899)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625BC #8BBC25
analogous
#2540BC #5625BC #A225BC
triadic
#5625BC #BC5625 #25BC56
tetradic
#5625BC #BC2540 #8BBC25 #25BCA2
square
#5625BC #BC2540 #8BBC25 #25BCA2
split-complementary
#5625BC #BCA225 #40BC25
monochromatic
#271156 #3F1B89 #5625BC #7544DA #9B77E4

Accessibility & contrast

On white

8.80
#5625BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5625BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625BC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625BC#FFFFFF#000000##FFFFFF
##5625BC1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#2C5271
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5625bc;
/* rgb */ color: rgb(86, 37, 188);
/* oklch */ color: oklch(43.6% 0.214 288.9);
Tailwind
colors: {
  custom: {
    50: '#9167d1',
    500: '#5625bc',
    950: '#000000',
  },
}
SCSS
$custom: #5625bc;
$custom-light: #9167d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5625bc",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 259.47,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43634,
    "c": 0.21363,
    "h": 288.9
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#5625BC
secondary
#AECC71
accent
#EA3EB2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5625BC

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

Preview Lab → · Contrast checker → · Palette generator →

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