#5826A9#5826A9

#5826A9 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.192 H 293.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#5826A9
RGBrgb(88, 38, 169)
HSLhsl(263, 63%, 41%)
HSVhsv(263, 78%, 66%)
CMYKcmyk(47.9%, 77.5%, 0%, 33.7%)
CIE-LABlab(30.22, 50.76, -61.28)
CIE-LCHlch(30.22, 79.57, 309.64°)
OKLaboklab(42.14% 0.0774 -0.1758)
OKLCHoklch(42.14% 0.192 293.8)
XYZxyz(11.8771, 6.3251, 38.1235)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826A9 #77A926
analogous
#2635A9 #5826A9 #9926A9
triadic
#5826A9 #A95826 #26A958
tetradic
#5826A9 #A92635 #77A926 #26A999
square
#5826A9 #A92635 #77A926 #26A999
split-complementary
#5826A9 #A99926 #35A926
monochromatic
#241045 #3E1B77 #5826A9 #743AD3 #976CDE

Accessibility & contrast

On white

9.27
#5826A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5826A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826A9
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826A9#FFFFFF#000000##FFFFFF
##5826A91.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#3F4A67
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5826a9;
/* rgb */ color: rgb(88, 38, 169);
/* oklch */ color: oklch(42.1% 0.192 293.8);
Tailwind
colors: {
  custom: {
    50: '#8f66c4',
    500: '#5826a9',
    950: '#000000',
  },
}
SCSS
$custom: #5826a9;
$custom-light: #8f66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5826a9",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 262.901,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42142,
    "c": 0.19206,
    "h": 293.8
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#5826A9
secondary
#A0C467
accent
#E641A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5826A9

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

Preview Lab → · Contrast checker → · Palette generator →

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