#5626C7#5626C7

#5626C7 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.225 H 286.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5626C7
RGBrgb(86, 38, 199)
HSLhsl(258, 68%, 46%)
HSVhsv(258, 81%, 78%)
CMYKcmyk(56.8%, 80.9%, 0%, 22%)
CIE-LABlab(32.89, 58.48, -74.68)
CIE-LCHlch(32.89, 94.85, 308.06°)
OKLaboklab(44.82% 0.0649 -0.2151)
OKLCHoklch(44.82% 0.225 286.8)
XYZxyz(14.8366, 7.4873, 54.6852)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626C7 #97C726
analogous
#2647C7 #5626C7 #A726C7
triadic
#5626C7 #C75626 #26C756
tetradic
#5626C7 #C72647 #97C726 #26C7A7
square
#5626C7 #C72647 #97C726 #26C7A7
split-complementary
#5626C7 #C7A726 #47C726
monochromatic
#2A1260 #401C94 #5626C7 #784DDD #9F81E7

Accessibility & contrast

On white

8.41
#5626C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5626C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5626C7
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626C7#FFFFFF#000000##FFFFFF
##5626C71.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#1E5778
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5626c7;
/* rgb */ color: rgb(86, 38, 199);
/* oklch */ color: oklch(44.8% 0.225 286.8);
Tailwind
colors: {
  custom: {
    50: '#9368d9',
    500: '#5626c7',
    950: '#000000',
  },
}
SCSS
$custom: #5626c7;
$custom-light: #9368d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5626c7",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 257.888,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44821,
    "c": 0.22464,
    "h": 286.8
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#5626C7
secondary
#B6CF79
accent
#EB3DB7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5626C7

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

Preview Lab → · Contrast checker → · Palette generator →

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