#4E35B6#4E35B6

#4E35B6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.192 H 284.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4E35B6
RGBrgb(78, 53, 182)
HSLhsl(252, 55%, 46%)
HSVhsv(252, 71%, 71%)
CMYKcmyk(57.1%, 70.9%, 0%, 28.6%)
CIE-LABlab(33.01, 45.40, -64.50)
CIE-LCHlch(33.01, 78.88, 305.14°)
OKLaboklab(44.23% 0.0471 -0.1857)
OKLCHoklch(44.23% 0.192 284.2)
XYZxyz(12.8559, 7.5425, 45.0253)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35B6 #9DB635
analogous
#355CB6 #4E35B6 #8E35B6
triadic
#4E35B6 #B64E35 #35B64E
tetradic
#4E35B6 #B6355C #9DB635 #35B68E
square
#4E35B6 #B6355C #9DB635 #35B68E
split-complementary
#4E35B6 #B68E35 #5CB635
monochromatic
#251957 #3A2787 #4E35B6 #7059CF #9989DD

Accessibility & contrast

On white

8.37
#4E35B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E35B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35B6
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35B6#FFFFFF#000000##FFFFFF
##4E35B61.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#185772
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e35b6;
/* rgb */ color: rgb(78, 53, 182);
/* oklch */ color: oklch(44.2% 0.192 284.2);
Tailwind
colors: {
  custom: {
    50: '#8b6fcd',
    500: '#4e35b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e35b6;
$custom-light: #8b6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35b6",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 251.628,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.19155,
    "h": 284.2
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#4E35B6
secondary
#B9C780
accent
#DE4AC1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E35B6

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

Preview Lab → · Contrast checker → · Palette generator →

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