#5826A3#5826A3

#5826A3 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.185 H 295.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#5826A3
RGBrgb(88, 38, 163)
HSLhsl(264, 62%, 39%)
HSVhsv(264, 77%, 64%)
CMYKcmyk(46%, 76.7%, 0%, 36.1%)
CIE-LABlab(29.68, 49.17, -58.55)
CIE-LCHlch(29.68, 76.46, 310.03°)
OKLaboklab(41.6% 0.079 -0.1678)
OKLCHoklch(41.6% 0.185 295.2)
XYZxyz(11.3267, 6.1050, 35.2248)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826A3 #71A326
analogous
#2633A3 #5826A3 #9726A3
triadic
#5826A3 #A35826 #26A358
tetradic
#5826A3 #A32633 #71A326 #26A397
square
#5826A3 #A32633 #71A326 #26A397
split-complementary
#5826A3 #A39726 #33A326
monochromatic
#220F40 #3D1A71 #5826A3 #7436D0 #9668DC

Accessibility & contrast

On white

9.46
#5826A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5826A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826A3
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826A3#FFFFFF#000000##FFFFFF
##5826A31.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#434863
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5826a3;
/* rgb */ color: rgb(88, 38, 163);
/* oklch */ color: oklch(41.6% 0.185 295.2);
Tailwind
colors: {
  custom: {
    50: '#8f66bf',
    500: '#5826a3',
    950: '#000000',
  },
}
SCSS
$custom: #5826a3;
$custom-light: #8f66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5826a3",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 264,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.18547,
    "h": 295.2
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#5826A3
secondary
#9CC263
accent
#E543A4
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5826A3

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

Preview Lab → · Contrast checker → · Palette generator →

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