#5826A2#5826A2

#5826A2 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.184 H 295.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#5826A2
RGBrgb(88, 38, 162)
HSLhsl(264, 62%, 39%)
HSVhsv(264, 77%, 64%)
CMYKcmyk(45.7%, 76.5%, 0%, 36.5%)
CIE-LABlab(29.59, 48.91, -58.09)
CIE-LCHlch(29.59, 75.93, 310.10°)
OKLaboklab(41.51% 0.0793 -0.1664)
OKLCHoklch(41.51% 0.184 295.5)
XYZxyz(11.2374, 6.0693, 34.7548)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826A2 #70A226
analogous
#2632A2 #5826A2 #9626A2
triadic
#5826A2 #A25826 #26A258
tetradic
#5826A2 #A22632 #70A226 #26A296
square
#5826A2 #A22632 #70A226 #26A296
split-complementary
#5826A2 #A29626 #32A226
monochromatic
#220F3F #3D1A70 #5826A2 #7435D0 #9667DB

Accessibility & contrast

On white

9.49
#5826A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5826A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826A2
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826A2#FFFFFF#000000##FFFFFF
##5826A21.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#434763
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5826a2;
/* rgb */ color: rgb(88, 38, 162);
/* oklch */ color: oklch(41.5% 0.184 295.5);
Tailwind
colors: {
  custom: {
    50: '#8f66bf',
    500: '#5826a2',
    950: '#000000',
  },
}
SCSS
$custom: #5826a2;
$custom-light: #8f66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5826a2",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 264.194,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.18436,
    "h": 295.5
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#5826A2
secondary
#9BC163
accent
#E543A4
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5826A2

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

Preview Lab → · Contrast checker → · Palette generator →

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