#4E35AE#4E35AE

#4E35AE is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.182 H 285.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4E35AE
RGBrgb(78, 53, 174)
HSLhsl(252, 53%, 45%)
HSVhsv(252, 70%, 68%)
CMYKcmyk(55.2%, 69.5%, 0%, 31.8%)
CIE-LABlab(32.31, 42.99, -60.90)
CIE-LCHlch(32.31, 74.54, 305.22°)
OKLaboklab(43.51% 0.0486 -0.1751)
OKLCHoklch(43.51% 0.182 285.5)
XYZxyz(12.0527, 7.2212, 40.7949)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35AE #95AE35
analogous
#3558AE #4E35AE #8B35AE
triadic
#4E35AE #AE4E35 #35AE4E
tetradic
#4E35AE #AE3558 #95AE35 #35AE8B
square
#4E35AE #AE3558 #95AE35 #35AE8B
split-complementary
#4E35AE #AE8B35 #58AE35
monochromatic
#241850 #39277F #4E35AE #6D55CB #9684DA

Accessibility & contrast

On white

8.59
#4E35AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E35AE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35AE#FFFFFF#000000##FFFFFF
##4E35AE1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#24546D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e35ae;
/* rgb */ color: rgb(78, 53, 174);
/* oklch */ color: oklch(43.5% 0.182 285.5);
Tailwind
colors: {
  custom: {
    50: '#896ec7',
    500: '#4e35ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e35ae;
$custom-light: #896ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35ae",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 252.397,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43507,
    "c": 0.18172,
    "h": 285.5
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#4E35AE
secondary
#B4C37C
accent
#DD4BBF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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