#4E35B5#4E35B5

#4E35B5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.190 H 284.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4E35B5
RGBrgb(78, 53, 181)
HSLhsl(252, 55%, 46%)
HSVhsv(252, 71%, 71%)
CMYKcmyk(56.9%, 70.7%, 0%, 29%)
CIE-LABlab(32.92, 45.10, -64.05)
CIE-LCHlch(32.92, 78.34, 305.15°)
OKLaboklab(44.14% 0.0473 -0.1844)
OKLCHoklch(44.14% 0.19 284.4)
XYZxyz(12.7529, 7.5013, 44.4830)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35B5 #9CB535
analogous
#355CB5 #4E35B5 #8E35B5
triadic
#4E35B5 #B54E35 #35B54E
tetradic
#4E35B5 #B5355C #9CB535 #35B58E
square
#4E35B5 #B5355C #9CB535 #35B58E
split-complementary
#4E35B5 #B58E35 #5CB535
monochromatic
#251956 #3A2786 #4E35B5 #7059CE #9988DC

Accessibility & contrast

On white

8.40
#4E35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E35B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35B5
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35B5#FFFFFF#000000##FFFFFF
##4E35B51.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#1A5771
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e35b5;
/* rgb */ color: rgb(78, 53, 181);
/* oklch */ color: oklch(44.1% 0.190 284.4);
Tailwind
colors: {
  custom: {
    50: '#8a6fcc',
    500: '#4e35b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e35b5;
$custom-light: #8a6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35b5",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 251.719,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44137,
    "c": 0.19033,
    "h": 284.4
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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