#5827AA#5827AA

#5827AA is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.192 H 293.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5827AA
RGBrgb(88, 39, 170)
HSLhsl(262, 63%, 41%)
HSVhsv(262, 77%, 67%)
CMYKcmyk(48.2%, 77.1%, 0%, 33.3%)
CIE-LABlab(30.47, 50.57, -61.47)
CIE-LCHlch(30.47, 79.60, 309.44°)
OKLaboklab(42.34% 0.0763 -0.1764)
OKLCHoklch(42.34% 0.192 293.4)
XYZxyz(12.0037, 6.4276, 38.6306)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5827AA #79AA27
analogous
#2737AA #5827AA #9927AA
triadic
#5827AA #AA5827 #27AA58
tetradic
#5827AA #AA2737 #79AA27 #27AA99
square
#5827AA #AA2737 #79AA27 #27AA99
split-complementary
#5827AA #AA9927 #37AA27
monochromatic
#241046 #3E1C78 #5827AA #743CD2 #986EDE

Accessibility & contrast

On white

9.19
#5827AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5827AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5827AA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5827AA#FFFFFF#000000##FFFFFF
##5827AA1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#3F4B67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5827aa;
/* rgb */ color: rgb(88, 39, 170);
/* oklch */ color: oklch(42.3% 0.192 293.4);
Tailwind
colors: {
  custom: {
    50: '#8f67c4',
    500: '#5827aa',
    950: '#000000',
  },
}
SCSS
$custom: #5827aa;
$custom-light: #8f67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5827aa",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 262.443,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.19216,
    "h": 293.4
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#5827AA
secondary
#A2C469
accent
#E642A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5827AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5827AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva