#4E35A3#4E35A3

#4E35A3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.168 H 287.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4E35A3
RGBrgb(78, 53, 163)
HSLhsl(254, 51%, 42%)
HSVhsv(254, 67%, 64%)
CMYKcmyk(52.1%, 67.5%, 0%, 36.1%)
CIE-LABlab(31.37, 39.66, -55.82)
CIE-LCHlch(31.37, 68.48, 305.39°)
OKLaboklab(42.55% 0.0503 -0.1602)
OKLCHoklch(42.55% 0.168 287.4)
XYZxyz(11.0239, 6.8097, 35.3768)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35A3 #8AA335
analogous
#3553A3 #4E35A3 #8535A3
triadic
#4E35A3 #A34E35 #35A34E
tetradic
#4E35A3 #A33553 #8AA335 #35A385
square
#4E35A3 #A33553 #8AA335 #35A385
split-complementary
#4E35A3 #A38535 #53A335
monochromatic
#221747 #382675 #4E35A3 #6A4FC6 #917ED5

Accessibility & contrast

On white

8.89
#4E35A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E35A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35A3
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35A3#FFFFFF#000000##FFFFFF
##4E35A31.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#2E5067
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e35a3;
/* rgb */ color: rgb(78, 53, 163);
/* oklch */ color: oklch(42.5% 0.168 287.4);
Tailwind
colors: {
  custom: {
    50: '#886ebf',
    500: '#4e35a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e35a3;
$custom-light: #886ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35a3",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 253.636,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42545,
    "c": 0.16792,
    "h": 287.4
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#4E35A3
secondary
#AEBE76
accent
#DA4DBA
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E35A3

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

Preview Lab → · Contrast checker → · Palette generator →

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