#4E35AA#4E35AA

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

Color values

HEX#4E35AA
RGBrgb(78, 53, 170)
HSLhsl(253, 52%, 44%)
HSVhsv(253, 69%, 67%)
CMYKcmyk(54.1%, 68.8%, 0%, 33.3%)
CIE-LABlab(31.96, 41.78, -59.07)
CIE-LCHlch(31.96, 72.35, 305.27°)
OKLaboklab(43.15% 0.0493 -0.1697)
OKLCHoklch(43.15% 0.177 286.2)
XYZxyz(11.6685, 7.0676, 38.7717)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35AA #91AA35
analogous
#3556AA #4E35AA #8835AA
triadic
#4E35AA #AA4E35 #35AA4E
tetradic
#4E35AA #AA3556 #91AA35 #35AA88
square
#4E35AA #AA3556 #91AA35 #35AA88
split-complementary
#4E35AA #AA8835 #56AA35
monochromatic
#23184D #39267B #4E35AA #6C53C9 #9482D8

Accessibility & contrast

On white

8.70
#4E35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35AA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35AA#FFFFFF#000000##FFFFFF
##4E35AA1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#28536B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e35aa;
/* rgb */ color: rgb(78, 53, 170);
/* oklch */ color: oklch(43.2% 0.177 286.2);
Tailwind
colors: {
  custom: {
    50: '#896ec4',
    500: '#4e35aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e35aa;
$custom-light: #896ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35aa",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 252.821,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43153,
    "c": 0.17674,
    "h": 286.2
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#4E35AA
secondary
#B2C17A
accent
#DC4CBD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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