#5835B3#5835B3

#5835B3 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.187 H 289.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5835B3
RGBrgb(88, 53, 179)
HSLhsl(257, 54%, 45%)
HSVhsv(257, 70%, 70%)
CMYKcmyk(50.8%, 70.4%, 0%, 29.8%)
CIE-LABlab(33.72, 46.12, -61.52)
CIE-LCHlch(33.72, 76.89, 306.86°)
OKLaboklab(44.89% 0.0621 -0.1766)
OKLCHoklch(44.89% 0.187 289.4)
XYZxyz(13.4319, 7.8750, 43.4514)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5835B3 #90B335
analogous
#3551B3 #5835B3 #9735B3
triadic
#5835B3 #B35835 #35B358
tetradic
#5835B3 #B33551 #90B335 #35B397
square
#5835B3 #B33551 #90B335 #35B397
split-complementary
#5835B3 #B39735 #51B335
monochromatic
#2A1955 #412784 #5835B3 #7858CD #9E87DB

Accessibility & contrast

On white

8.15
#5835B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5835B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5835B3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5835B3#FFFFFF#000000##FFFFFF
##5835B31.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#385670
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5835b3;
/* rgb */ color: rgb(88, 53, 179);
/* oklch */ color: oklch(44.9% 0.187 289.4);
Tailwind
colors: {
  custom: {
    50: '#906fcb',
    500: '#5835b3',
    950: '#000000',
  },
}
SCSS
$custom: #5835b3;
$custom-light: #906fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5835b3",
  "rgb": {
    "r": 88,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 256.667,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44887,
    "c": 0.18717,
    "h": 289.4
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#5835B3
secondary
#B2C57F
accent
#DE4AB5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5835B3

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

Preview Lab → · Contrast checker → · Palette generator →

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