#5835AE#5835AE

#5835AE is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.181 H 290.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5835AE
RGBrgb(88, 53, 174)
HSLhsl(257, 53%, 45%)
HSVhsv(257, 70%, 68%)
CMYKcmyk(49.4%, 69.5%, 0%, 31.8%)
CIE-LABlab(33.30, 44.69, -59.23)
CIE-LCHlch(33.30, 74.20, 307.03°)
OKLaboklab(44.46% 0.063 -0.1699)
OKLCHoklch(44.46% 0.181 290.3)
XYZxyz(12.9354, 7.6764, 40.8363)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5835AE #8BAE35
analogous
#354FAE #5835AE #9435AE
triadic
#5835AE #AE5835 #35AE58
tetradic
#5835AE #AE354F #8BAE35 #35AE94
square
#5835AE #AE354F #8BAE35 #35AE94
split-complementary
#5835AE #AE9435 #4FAE35
monochromatic
#291850 #40277F #5835AE #7755CB #9D84DA

Accessibility & contrast

On white

8.28
#5835AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5835AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5835AE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5835AE#FFFFFF#000000##FFFFFF
##5835AE1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#3B546D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5835ae;
/* rgb */ color: rgb(88, 53, 174);
/* oklch */ color: oklch(44.5% 0.181 290.3);
Tailwind
colors: {
  custom: {
    50: '#8f6fc7',
    500: '#5835ae',
    950: '#000000',
  },
}
SCSS
$custom: #5835ae;
$custom-light: #8f6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5835ae",
  "rgb": {
    "r": 88,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 257.355,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44455,
    "c": 0.18117,
    "h": 290.3
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#5835AE
secondary
#AEC37C
accent
#DD4BB3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5835AE

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

Preview Lab → · Contrast checker → · Palette generator →

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