#4E35AD#4E35AD

#4E35AD is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.180 H 285.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4E35AD
RGBrgb(78, 53, 173)
HSLhsl(253, 53%, 44%)
HSVhsv(253, 69%, 68%)
CMYKcmyk(54.9%, 69.4%, 0%, 32.2%)
CIE-LABlab(32.22, 42.68, -60.44)
CIE-LCHlch(32.22, 73.99, 305.23°)
OKLaboklab(43.42% 0.0488 -0.1738)
OKLCHoklch(43.42% 0.18 285.7)
XYZxyz(11.9555, 7.1824, 40.2834)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35AD #94AD35
analogous
#3558AD #4E35AD #8A35AD
triadic
#4E35AD #AD4E35 #35AD4E
tetradic
#4E35AD #AD3558 #94AD35 #35AD8A
square
#4E35AD #AD3558 #94AD35 #35AD8A
split-complementary
#4E35AD #AD8A35 #58AD35
monochromatic
#24184F #39277E #4E35AD #6D54CB #9583D9

Accessibility & contrast

On white

8.62
#4E35AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E35AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35AD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35AD#FFFFFF#000000##FFFFFF
##4E35AD1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#25546D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e35ad;
/* rgb */ color: rgb(78, 53, 173);
/* oklch */ color: oklch(43.4% 0.180 285.7);
Tailwind
colors: {
  custom: {
    50: '#896ec6',
    500: '#4e35ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e35ad;
$custom-light: #896ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35ad",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 252.5,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.18048,
    "h": 285.7
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#4E35AD
secondary
#B4C37B
accent
#DD4BBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E35AD

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

Preview Lab → · Contrast checker → · Palette generator →

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