#4E35B3#4E35B3

#4E35B3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.188 H 284.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4E35B3
RGBrgb(78, 53, 179)
HSLhsl(252, 54%, 45%)
HSVhsv(252, 70%, 70%)
CMYKcmyk(56.4%, 70.4%, 0%, 29.8%)
CIE-LABlab(32.74, 44.50, -63.16)
CIE-LCHlch(32.74, 77.26, 305.17°)
OKLaboklab(43.96% 0.0477 -0.1817)
OKLCHoklch(43.96% 0.188 284.7)
XYZxyz(12.5492, 7.4198, 43.4100)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35B3 #9AB335
analogous
#355BB3 #4E35B3 #8D35B3
triadic
#4E35B3 #B34E35 #35B34E
tetradic
#4E35B3 #B3355B #9AB335 #35B38D
square
#4E35B3 #B3355B #9AB335 #35B38D
split-complementary
#4E35B3 #B38D35 #5BB335
monochromatic
#251955 #392784 #4E35B3 #6F58CD #9887DB

Accessibility & contrast

On white

8.45
#4E35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E35B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35B3
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35B3#FFFFFF#000000##FFFFFF
##4E35B31.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#1D5670
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e35b3;
/* rgb */ color: rgb(78, 53, 179);
/* oklch */ color: oklch(44.0% 0.188 284.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ecb',
    500: '#4e35b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e35b3;
$custom-light: #8a6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35b3",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 251.905,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43956,
    "c": 0.18789,
    "h": 284.7
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#4E35B3
secondary
#B7C57F
accent
#DE4AC0
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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