#4E35A9#4E35A9

#4E35A9 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.175 H 286.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4E35A9
RGBrgb(78, 53, 169)
HSLhsl(253, 52%, 44%)
HSVhsv(253, 69%, 66%)
CMYKcmyk(53.8%, 68.6%, 0%, 33.7%)
CIE-LABlab(31.87, 41.47, -58.61)
CIE-LCHlch(31.87, 71.80, 305.29°)
OKLaboklab(43.07% 0.0494 -0.1684)
OKLCHoklch(43.07% 0.175 286.4)
XYZxyz(11.5743, 7.0299, 38.2754)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35A9 #90A935
analogous
#3556A9 #4E35A9 #8835A9
triadic
#4E35A9 #A94E35 #35A94E
tetradic
#4E35A9 #A93556 #90A935 #35A988
square
#4E35A9 #A93556 #90A935 #35A988
split-complementary
#4E35A9 #A98835 #56A935
monochromatic
#23184C #38267A #4E35A9 #6C52C9 #9481D7

Accessibility & contrast

On white

8.73
#4E35A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E35A9
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35A9#FFFFFF#000000##FFFFFF
##4E35A91.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#29536A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e35a9;
/* rgb */ color: rgb(78, 53, 169);
/* oklch */ color: oklch(43.1% 0.175 286.4);
Tailwind
colors: {
  custom: {
    50: '#896ec4',
    500: '#4e35a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e35a9;
$custom-light: #896ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35a9",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 252.931,
    "s": 52.252,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43065,
    "c": 0.17549,
    "h": 286.4
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E35A9

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

Preview Lab → · Contrast checker → · Palette generator →

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