#4E35B9#4E35B9

#4E35B9 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.195 H 283.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4E35B9
RGBrgb(78, 53, 185)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 73%)
CMYKcmyk(57.8%, 71.4%, 0%, 27.5%)
CIE-LABlab(33.28, 46.31, -65.83)
CIE-LCHlch(33.28, 80.49, 305.12°)
OKLaboklab(44.5% 0.0466 -0.1896)
OKLCHoklch(44.5% 0.195 283.8)
XYZxyz(13.1693, 7.6679, 46.6756)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35B9 #A0B935
analogous
#355EB9 #4E35B9 #9035B9
triadic
#4E35B9 #B94E35 #35B94E
tetradic
#4E35B9 #B9355E #A0B935 #35B990
square
#4E35B9 #B9355E #A0B935 #35B990
split-complementary
#4E35B9 #B99035 #5EB935
monochromatic
#261A5A #3A2789 #4E35B9 #715BD0 #9A8BDE

Accessibility & contrast

On white

8.29
#4E35B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E35B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35B9
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35B9#FFFFFF#000000##FFFFFF
##4E35B91.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#125973
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e35b9;
/* rgb */ color: rgb(78, 53, 185);
/* oklch */ color: oklch(44.5% 0.195 283.8);
Tailwind
colors: {
  custom: {
    50: '#8b6fcf',
    500: '#4e35b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e35b9;
$custom-light: #8b6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35b9",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 251.364,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.1952,
    "h": 283.8
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#4E35B9
secondary
#BBC882
accent
#DF49C2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E35B9

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

Preview Lab → · Contrast checker → · Palette generator →

#4E35B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva