#4E35C7#4E35C7

#4E35C7 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.212 H 281.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4E35C7
RGBrgb(78, 53, 199)
HSLhsl(250, 58%, 49%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(60.8%, 73.4%, 0%, 22%)
CIE-LABlab(34.58, 50.51, -71.93)
CIE-LCHlch(34.58, 87.89, 305.08°)
OKLaboklab(45.82% 0.0436 -0.2074)
OKLCHoklch(45.82% 0.212 281.9)
XYZxyz(14.7206, 8.2884, 54.8459)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35C7 #AEC735
analogous
#3565C7 #4E35C7 #9735C7
triadic
#4E35C7 #C74E35 #35C74E
tetradic
#4E35C7 #C73565 #AEC735 #35C797
square
#4E35C7 #C73565 #AEC735 #35C797
split-complementary
#4E35C7 #C79735 #65C735
monochromatic
#281B66 #3B2897 #4E35C7 #7764D6 #A194E2

Accessibility & contrast

On white

7.90
#4E35C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E35C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35C7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35C7#FFFFFF#000000##FFFFFF
##4E35C71.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e35c7;
/* rgb */ color: rgb(78, 53, 199);
/* oklch */ color: oklch(45.8% 0.212 281.9);
Tailwind
colors: {
  custom: {
    50: '#8e6fd9',
    500: '#4e35c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e35c7;
$custom-light: #8e6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35c7",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 250.274,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.21194,
    "h": 281.9
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#4E35C7
secondary
#C2CE8A
accent
#E147C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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