#5835AC#5835AC

#5835AC is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.179 H 290.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#5835AC
RGBrgb(88, 53, 172)
HSLhsl(258, 53%, 44%)
HSVhsv(258, 69%, 67%)
CMYKcmyk(48.8%, 69.2%, 0%, 32.5%)
CIE-LABlab(33.13, 44.12, -58.31)
CIE-LCHlch(33.13, 73.12, 307.11°)
OKLaboklab(44.29% 0.0633 -0.1672)
OKLCHoklch(44.29% 0.179 290.7)
XYZxyz(12.7419, 7.5990, 39.8171)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5835AC #89AC35
analogous
#354EAC #5835AC #9435AC
triadic
#5835AC #AC5835 #35AC58
tetradic
#5835AC #AC354E #89AC35 #35AC94
square
#5835AC #AC354E #89AC35 #35AC94
split-complementary
#5835AC #AC9435 #4EAC35
monochromatic
#28184E #40277D #5835AC #7754CA #9C83D9

Accessibility & contrast

On white

8.33
#5835AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5835AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5835AC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5835AC#FFFFFF#000000##FFFFFF
##5835AC1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#3D536C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5835ac;
/* rgb */ color: rgb(88, 53, 172);
/* oklch */ color: oklch(44.3% 0.179 290.7);
Tailwind
colors: {
  custom: {
    50: '#8f6fc6',
    500: '#5835ac',
    950: '#000000',
  },
}
SCSS
$custom: #5835ac;
$custom-light: #8f6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5835ac",
  "rgb": {
    "r": 88,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 257.647,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44285,
    "c": 0.17875,
    "h": 290.7
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#5835AC
secondary
#ADC27B
accent
#DC4CB2
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5835AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5835AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva