#5626B0#5626B0

#5626B0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.200 H 291.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#5626B0
RGBrgb(86, 38, 176)
HSLhsl(261, 64%, 42%)
HSVhsv(261, 78%, 69%)
CMYKcmyk(51.1%, 78.4%, 0%, 31%)
CIE-LABlab(30.64, 52.33, -64.80)
CIE-LCHlch(30.64, 83.29, 308.92°)
OKLaboklab(42.58% 0.0723 -0.1862)
OKLCHoklch(42.58% 0.2 291.2)
XYZxyz(12.3651, 6.4987, 41.6687)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626B0 #80B026
analogous
#263BB0 #5626B0 #9B26B0
triadic
#5626B0 #B05626 #26B056
tetradic
#5626B0 #B0263B #80B026 #26B09B
square
#5626B0 #B0263B #80B026 #26B09B
split-complementary
#5626B0 #B09B26 #3BB026
monochromatic
#25104B #3D1B7E #5626B0 #733ED5 #9770E0

Accessibility & contrast

On white

9.13
#5626B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5626B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5626B0
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626B0#FFFFFF#000000##FFFFFF
##5626B01.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5626b0;
/* rgb */ color: rgb(86, 38, 176);
/* oklch */ color: oklch(42.6% 0.200 291.2);
Tailwind
colors: {
  custom: {
    50: '#8f66c9',
    500: '#5626b0',
    950: '#000000',
  },
}
SCSS
$custom: #5626b0;
$custom-light: #8f66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5626b0",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 260.87,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.19969,
    "h": 291.2
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#5626B0
secondary
#A7C76B
accent
#E740AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5626B0

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

Preview Lab → · Contrast checker → · Palette generator →

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