#5625B0#5625B0

#5625B0 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.201 H 291.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#5625B0
RGBrgb(86, 37, 176)
HSLhsl(261, 65%, 42%)
HSVhsv(261, 79%, 69%)
CMYKcmyk(51.1%, 79%, 0%, 31%)
CIE-LABlab(30.49, 52.76, -65.04)
CIE-LCHlch(30.49, 83.75, 309.05°)
OKLaboklab(42.47% 0.073 -0.1869)
OKLCHoklch(42.47% 0.201 291.3)
XYZxyz(12.3336, 6.4357, 41.6582)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625B0 #7FB025
analogous
#253AB0 #5625B0 #9C25B0
triadic
#5625B0 #B05625 #25B056
tetradic
#5625B0 #B0253A #7FB025 #25B09C
square
#5625B0 #B0253A #7FB025 #25B09C
split-complementary
#5625B0 #B09C25 #3AB025
monochromatic
#25104B #3D1A7D #5625B0 #723CD6 #976FE1

Accessibility & contrast

On white

9.18
#5625B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5625B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625B0
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625B0#FFFFFF#000000##FFFFFF
##5625B01.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#374D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5625b0;
/* rgb */ color: rgb(86, 37, 176);
/* oklch */ color: oklch(42.5% 0.201 291.3);
Tailwind
colors: {
  custom: {
    50: '#8f66c9',
    500: '#5625b0',
    950: '#000000',
  },
}
SCSS
$custom: #5625b0;
$custom-light: #8f66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5625b0",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 261.151,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.20062,
    "h": 291.3
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#5625B0
secondary
#A6C76A
accent
#E840AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5625B0

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

Preview Lab → · Contrast checker → · Palette generator →

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