#5826B0#5826B0

#5826B0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.200 H 292.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#5826B0
RGBrgb(88, 38, 176)
HSLhsl(262, 64%, 42%)
HSVhsv(262, 78%, 69%)
CMYKcmyk(50%, 78.4%, 0%, 31%)
CIE-LABlab(30.87, 52.61, -64.41)
CIE-LCHlch(30.87, 83.16, 309.24°)
OKLaboklab(42.79% 0.0753 -0.185)
OKLCHoklch(42.79% 0.2 292.2)
XYZxyz(12.5519, 6.5951, 41.6775)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826B0 #7EB026
analogous
#2639B0 #5826B0 #9D26B0
triadic
#5826B0 #B05826 #26B058
tetradic
#5826B0 #B02639 #7EB026 #26B09D
square
#5826B0 #B02639 #7EB026 #26B09D
split-complementary
#5826B0 #B09D26 #39B026
monochromatic
#26104B #3F1B7E #5826B0 #753ED5 #9970E0

Accessibility & contrast

On white

9.05
#5826B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5826B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826B0
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826B0#FFFFFF#000000##FFFFFF
##5826B01.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#3B4D6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5826b0;
/* rgb */ color: rgb(88, 38, 176);
/* oklch */ color: oklch(42.8% 0.200 292.2);
Tailwind
colors: {
  custom: {
    50: '#9067c9',
    500: '#5826b0',
    950: '#000000',
  },
}
SCSS
$custom: #5826b0;
$custom-light: #9067c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5826b0",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 261.739,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.19972,
    "h": 292.2
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#5826B0
secondary
#A6C76B
accent
#E740AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5826B0

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

Preview Lab → · Contrast checker → · Palette generator →

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