#5826A6#5826A6

#5826A6 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.189 H 294.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#5826A6
RGBrgb(88, 38, 166)
HSLhsl(263, 63%, 40%)
HSVhsv(263, 77%, 65%)
CMYKcmyk(47%, 77.1%, 0%, 34.9%)
CIE-LABlab(29.95, 49.96, -59.92)
CIE-LCHlch(29.95, 78.02, 309.82°)
OKLaboklab(41.87% 0.0782 -0.1718)
OKLCHoklch(41.87% 0.189 294.5)
XYZxyz(11.5987, 6.2138, 36.6573)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826A6 #74A626
analogous
#2634A6 #5826A6 #9826A6
triadic
#5826A6 #A65826 #26A658
tetradic
#5826A6 #A62634 #74A626 #26A698
square
#5826A6 #A62634 #74A626 #26A698
split-complementary
#5826A6 #A69826 #34A626
monochromatic
#230F42 #3E1B74 #5826A6 #7438D1 #976ADD

Accessibility & contrast

On white

9.36
#5826A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5826A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826A6
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826A6#FFFFFF#000000##FFFFFF
##5826A61.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#414965
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5826a6;
/* rgb */ color: rgb(88, 38, 166);
/* oklch */ color: oklch(41.9% 0.189 294.5);
Tailwind
colors: {
  custom: {
    50: '#8f66c1',
    500: '#5826a6',
    950: '#000000',
  },
}
SCSS
$custom: #5826a6;
$custom-light: #8f66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5826a6",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 263.438,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.41868,
    "c": 0.18877,
    "h": 294.5
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#5826A6
secondary
#9EC365
accent
#E642A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5826A6

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

Preview Lab → · Contrast checker → · Palette generator →

#5826A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva