#5826AF#5826AF

#5826AF is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.199 H 292.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#5826AF
RGBrgb(88, 38, 175)
HSLhsl(262, 64%, 42%)
HSVhsv(262, 78%, 69%)
CMYKcmyk(49.7%, 78.3%, 0%, 31.4%)
CIE-LABlab(30.77, 52.34, -63.97)
CIE-LCHlch(30.77, 82.65, 309.29°)
OKLaboklab(42.7% 0.0756 -0.1837)
OKLCHoklch(42.7% 0.199 292.4)
XYZxyz(12.4533, 6.5556, 41.1583)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826AF #7DAF26
analogous
#2639AF #5826AF #9D26AF
triadic
#5826AF #AF5826 #26AF58
tetradic
#5826AF #AF2639 #7DAF26 #26AF9D
square
#5826AF #AF2639 #7DAF26 #26AF9D
split-complementary
#5826AF #AF9D26 #39AF26
monochromatic
#25104A #3F1B7D #5826AF #753DD5 #9970E0

Accessibility & contrast

On white

9.09
#5826AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5826AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826AF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826AF#FFFFFF#000000##FFFFFF
##5826AF1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#3B4D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5826af;
/* rgb */ color: rgb(88, 38, 175);
/* oklch */ color: oklch(42.7% 0.199 292.4);
Tailwind
colors: {
  custom: {
    50: '#9067c8',
    500: '#5826af',
    950: '#000000',
  },
}
SCSS
$custom: #5826af;
$custom-light: #9067c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5826af",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 261.898,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.19863,
    "h": 292.4
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#5826AF
secondary
#A5C76A
accent
#E740AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5826AF

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

Preview Lab → · Contrast checker → · Palette generator →

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