#5826A8#5826A8

#5826A8 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.191 H 294.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#5826A8
RGBrgb(88, 38, 168)
HSLhsl(263, 63%, 40%)
HSVhsv(263, 77%, 66%)
CMYKcmyk(47.6%, 77.4%, 0%, 34.1%)
CIE-LABlab(30.13, 50.49, -60.82)
CIE-LCHlch(30.13, 79.05, 309.70°)
OKLaboklab(42.05% 0.0777 -0.1745)
OKLCHoklch(42.05% 0.191 294)
XYZxyz(11.7836, 6.2877, 37.6310)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826A8 #76A826
analogous
#2635A8 #5826A8 #9926A8
triadic
#5826A8 #A85826 #26A858
tetradic
#5826A8 #A82635 #76A826 #26A899
square
#5826A8 #A82635 #76A826 #26A899
split-complementary
#5826A8 #A89926 #35A826
monochromatic
#240F44 #3E1B76 #5826A8 #7439D2 #976BDE

Accessibility & contrast

On white

9.30
#5826A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5826A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826A8
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826A8#FFFFFF#000000##FFFFFF
##5826A81.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#404A66
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5826a8;
/* rgb */ color: rgb(88, 38, 168);
/* oklch */ color: oklch(42.0% 0.191 294.0);
Tailwind
colors: {
  custom: {
    50: '#8f66c3',
    500: '#5826a8',
    950: '#000000',
  },
}
SCSS
$custom: #5826a8;
$custom-light: #8f66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5826a8",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 263.077,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.19096,
    "h": 294
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#5826A8
secondary
#A0C466
accent
#E642A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5826A8

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

Preview Lab → · Contrast checker → · Palette generator →

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