#5826A0#5826A0

#5826A0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.182 H 296.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#5826A0
RGBrgb(88, 38, 160)
HSLhsl(265, 62%, 39%)
HSVhsv(265, 76%, 63%)
CMYKcmyk(45%, 76.3%, 0%, 37.3%)
CIE-LABlab(29.41, 48.38, -57.16)
CIE-LCHlch(29.41, 74.89, 310.24°)
OKLaboklab(41.33% 0.0798 -0.1637)
OKLCHoklch(41.33% 0.182 296)
XYZxyz(11.0611, 5.9987, 33.8260)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826A0 #6EA026
analogous
#2631A0 #5826A0 #9526A0
triadic
#5826A0 #A05826 #26A058
tetradic
#5826A0 #A02631 #6EA026 #26A095
square
#5826A0 #A02631 #6EA026 #26A095
split-complementary
#5826A0 #A09526 #31A026
monochromatic
#220F3D #3D1A6F #5826A0 #7434CF #9666DB

Accessibility & contrast

On white

9.55
#5826A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5826A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826A0
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826A0#FFFFFF#000000##FFFFFF
##5826A01.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#444761
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5826a0;
/* rgb */ color: rgb(88, 38, 160);
/* oklch */ color: oklch(41.3% 0.182 296.0);
Tailwind
colors: {
  custom: {
    50: '#8e66bd',
    500: '#5826a0',
    950: '#000000',
  },
}
SCSS
$custom: #5826a0;
$custom-light: #8e66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5826a0",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 264.59,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.18215,
    "h": 296
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#5826A0
secondary
#99C061
accent
#E543A2
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5826A0

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

Preview Lab → · Contrast checker → · Palette generator →

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