#5826BD#5826BD

#5826BD is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.214 H 289.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#5826BD
RGBrgb(88, 38, 189)
HSLhsl(260, 67%, 45%)
HSVhsv(260, 80%, 74%)
CMYKcmyk(53.4%, 79.9%, 0%, 25.9%)
CIE-LABlab(32.11, 56.05, -70.08)
CIE-LCHlch(32.11, 89.74, 308.65°)
OKLaboklab(44.03% 0.0712 -0.2016)
OKLCHoklch(44.03% 0.214 289.5)
XYZxyz(13.9002, 7.1344, 48.7789)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826BD #8BBD26
analogous
#263FBD #5826BD #A426BD
triadic
#5826BD #BD5826 #26BD58
tetradic
#5826BD #BD263F #8BBD26 #26BDA4
square
#5826BD #BD263F #8BBD26 #26BDA4
split-complementary
#5826BD #BDA426 #3FBD26
monochromatic
#291257 #401C8A #5826BD #7746DA #9D79E4

Accessibility & contrast

On white

8.65
#5826BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5826BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826BD
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826BD#FFFFFF#000000##FFFFFF
##5826BD1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#305372
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5826bd;
/* rgb */ color: rgb(88, 38, 189);
/* oklch */ color: oklch(44.0% 0.214 289.5);
Tailwind
colors: {
  custom: {
    50: '#9267d2',
    500: '#5826bd',
    950: '#000000',
  },
}
SCSS
$custom: #5826bd;
$custom-light: #9267d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5826bd",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 259.868,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44033,
    "c": 0.21379,
    "h": 289.5
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#5826BD
secondary
#AECC73
accent
#E93EB1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5826BD

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

Preview Lab → · Contrast checker → · Palette generator →

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