#4E35B7#4E35B7

#4E35B7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.193 H 284.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4E35B7
RGBrgb(78, 53, 183)
HSLhsl(252, 55%, 46%)
HSVhsv(252, 71%, 72%)
CMYKcmyk(57.4%, 71%, 0%, 28.2%)
CIE-LABlab(33.10, 45.71, -64.95)
CIE-LCHlch(33.10, 79.42, 305.14°)
OKLaboklab(44.32% 0.047 -0.187)
OKLCHoklch(44.32% 0.193 284.1)
XYZxyz(12.9596, 7.5840, 45.5715)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35B7 #9EB735
analogous
#355DB7 #4E35B7 #8F35B7
triadic
#4E35B7 #B74E35 #35B74E
tetradic
#4E35B7 #B7355D #9EB735 #35B78F
square
#4E35B7 #B7355D #9EB735 #35B78F
split-complementary
#4E35B7 #B78F35 #5DB735
monochromatic
#261A58 #3A2788 #4E35B7 #715ACF #9A89DD

Accessibility & contrast

On white

8.34
#4E35B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E35B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35B7
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35B7#FFFFFF#000000##FFFFFF
##4E35B71.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#165872
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e35b7;
/* rgb */ color: rgb(78, 53, 183);
/* oklch */ color: oklch(44.3% 0.193 284.1);
Tailwind
colors: {
  custom: {
    50: '#8b6fce',
    500: '#4e35b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e35b7;
$custom-light: #8b6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35b7",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 251.538,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4432,
    "c": 0.19277,
    "h": 284.1
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#4E35B7
secondary
#BAC781
accent
#DE49C2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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