#5827AF#5827AF

#5827AF is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.198 H 292.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#5827AF
RGBrgb(88, 39, 175)
HSLhsl(262, 64%, 42%)
HSVhsv(262, 78%, 69%)
CMYKcmyk(49.7%, 77.7%, 0%, 31.4%)
CIE-LABlab(30.93, 51.90, -63.71)
CIE-LCHlch(30.93, 82.18, 309.17°)
OKLaboklab(42.81% 0.0749 -0.1829)
OKLCHoklch(42.81% 0.198 292.3)
XYZxyz(12.4857, 6.6204, 41.1691)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5827AF #7EAF27
analogous
#273AAF #5827AF #9C27AF
triadic
#5827AF #AF5827 #27AF58
tetradic
#5827AF #AF273A #7EAF27 #27AF9C
square
#5827AF #AF273A #7EAF27 #27AF9C
split-complementary
#5827AF #AF9C27 #3AAF27
monochromatic
#26114B #3F1C7D #5827AF #753FD4 #9971DF

Accessibility & contrast

On white

9.04
#5827AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5827AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5827AF#FFFFFF#000000##FFFFFF
##5827AF1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#3B4D6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5827af;
/* rgb */ color: rgb(88, 39, 175);
/* oklch */ color: oklch(42.8% 0.198 292.3);
Tailwind
colors: {
  custom: {
    50: '#9067c8',
    500: '#5827af',
    950: '#000000',
  },
}
SCSS
$custom: #5827af;
$custom-light: #9067c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5827af",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 261.618,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.19766,
    "h": 292.3
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#5827AF
secondary
#A6C66B
accent
#E741AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5827AF

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

Preview Lab → · Contrast checker → · Palette generator →

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