#5826A5#5826A5

#5826A5 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.188 H 294.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#5826A5
RGBrgb(88, 38, 165)
HSLhsl(264, 63%, 40%)
HSVhsv(264, 77%, 65%)
CMYKcmyk(46.7%, 77%, 0%, 35.3%)
CIE-LABlab(29.86, 49.70, -59.46)
CIE-LCHlch(29.86, 77.50, 309.89°)
OKLaboklab(41.78% 0.0785 -0.1705)
OKLCHoklch(41.78% 0.188 294.7)
XYZxyz(11.5073, 6.1772, 36.1760)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826A5 #73A526
analogous
#2633A5 #5826A5 #9826A5
triadic
#5826A5 #A55826 #26A558
tetradic
#5826A5 #A52633 #73A526 #26A598
square
#5826A5 #A52633 #73A526 #26A598
split-complementary
#5826A5 #A59826 #33A526
monochromatic
#230F42 #3D1B73 #5826A5 #7437D1 #9669DC

Accessibility & contrast

On white

9.39
#5826A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5826A5
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826A5#FFFFFF#000000##FFFFFF
##5826A51.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#424964
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5826a5;
/* rgb */ color: rgb(88, 38, 165);
/* oklch */ color: oklch(41.8% 0.188 294.7);
Tailwind
colors: {
  custom: {
    50: '#8f66c1',
    500: '#5826a5',
    950: '#000000',
  },
}
SCSS
$custom: #5826a5;
$custom-light: #8f66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5826a5",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 263.622,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41777,
    "c": 0.18766,
    "h": 294.7
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#5826A5
secondary
#9DC364
accent
#E642A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5826A5

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

Preview Lab → · Contrast checker → · Palette generator →

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