#4E35B4#4E35B4

#4E35B4 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.189 H 284.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4E35B4
RGBrgb(78, 53, 180)
HSLhsl(252, 55%, 46%)
HSVhsv(252, 71%, 71%)
CMYKcmyk(56.7%, 70.6%, 0%, 29.4%)
CIE-LABlab(32.83, 44.80, -63.61)
CIE-LCHlch(32.83, 77.80, 305.16°)
OKLaboklab(44.05% 0.0475 -0.183)
OKLCHoklch(44.05% 0.189 284.6)
XYZxyz(12.6507, 7.4604, 43.9446)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35B4 #9BB435
analogous
#355BB4 #4E35B4 #8D35B4
triadic
#4E35B4 #B44E35 #35B44E
tetradic
#4E35B4 #B4355B #9BB435 #35B48D
square
#4E35B4 #B4355B #9BB435 #35B48D
split-complementary
#4E35B4 #B48D35 #5BB435
monochromatic
#251955 #3A2785 #4E35B4 #6F58CE #9888DC

Accessibility & contrast

On white

8.43
#4E35B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E35B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35B4
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35B4#FFFFFF#000000##FFFFFF
##4E35B41.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#1C5771
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e35b4;
/* rgb */ color: rgb(78, 53, 180);
/* oklch */ color: oklch(44.0% 0.189 284.6);
Tailwind
colors: {
  custom: {
    50: '#8a6fcc',
    500: '#4e35b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e35b4;
$custom-light: #8a6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35b4",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 251.811,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.18911,
    "h": 284.6
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#4E35B4
secondary
#B8C67F
accent
#DE4AC1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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