#5826A7#5826A7

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

Color values

HEX#5826A7
RGBrgb(88, 38, 167)
HSLhsl(263, 63%, 40%)
HSVhsv(263, 77%, 65%)
CMYKcmyk(47.3%, 77.2%, 0%, 34.5%)
CIE-LABlab(30.04, 50.23, -60.37)
CIE-LCHlch(30.04, 78.53, 309.76°)
OKLaboklab(41.96% 0.0779 -0.1731)
OKLCHoklch(41.96% 0.19 294.2)
XYZxyz(11.6908, 6.2506, 37.1422)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826A7 #75A726
analogous
#2634A7 #5826A7 #9926A7
triadic
#5826A7 #A75826 #26A758
tetradic
#5826A7 #A72634 #75A726 #26A799
square
#5826A7 #A72634 #75A726 #26A799
split-complementary
#5826A7 #A79926 #34A726
monochromatic
#230F43 #3E1B75 #5826A7 #7438D2 #976ADD

Accessibility & contrast

On white

9.33
#5826A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5826A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826A7
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826A7#FFFFFF#000000##FFFFFF
##5826A71.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#404965
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5826a7;
/* rgb */ color: rgb(88, 38, 167);
/* oklch */ color: oklch(42.0% 0.190 294.2);
Tailwind
colors: {
  custom: {
    50: '#8f66c2',
    500: '#5826a7',
    950: '#000000',
  },
}
SCSS
$custom: #5826a7;
$custom-light: #8f66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5826a7",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 263.256,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.18986,
    "h": 294.2
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#5826A7
secondary
#9FC365
accent
#E642A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5826A7

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

Preview Lab → · Contrast checker → · Palette generator →

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