#4E35AB#4E35AB

#4E35AB is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.178 H 286.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4E35AB
RGBrgb(78, 53, 171)
HSLhsl(253, 53%, 44%)
HSVhsv(253, 69%, 67%)
CMYKcmyk(54.4%, 69%, 0%, 32.9%)
CIE-LABlab(32.05, 42.08, -59.53)
CIE-LCHlch(32.05, 72.90, 305.26°)
OKLaboklab(43.24% 0.0491 -0.1711)
OKLCHoklch(43.24% 0.178 286)
XYZxyz(11.7635, 7.1055, 39.2718)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35AB #92AB35
analogous
#3557AB #4E35AB #8935AB
triadic
#4E35AB #AB4E35 #35AB4E
tetradic
#4E35AB #AB3557 #92AB35 #35AB89
square
#4E35AB #AB3557 #92AB35 #35AB89
split-complementary
#4E35AB #AB8935 #57AB35
monochromatic
#23184E #39277C #4E35AB #6C53CA #9482D8

Accessibility & contrast

On white

8.67
#4E35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35AB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35AB#FFFFFF#000000##FFFFFF
##4E35AB1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#27536C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e35ab;
/* rgb */ color: rgb(78, 53, 171);
/* oklch */ color: oklch(43.2% 0.178 286.0);
Tailwind
colors: {
  custom: {
    50: '#896ec5',
    500: '#4e35ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e35ab;
$custom-light: #896ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35ab",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 252.712,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.17799,
    "h": 286
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#4E35AB
secondary
#B3C27A
accent
#DC4CBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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