#4E35C1#4E35C1

#4E35C1 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.2% C 0.205 H 282.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4E35C1
RGBrgb(78, 53, 193)
HSLhsl(251, 57%, 48%)
HSVhsv(251, 73%, 76%)
CMYKcmyk(59.6%, 72.5%, 0%, 24.3%)
CIE-LABlab(34.01, 48.71, -69.34)
CIE-LCHlch(34.01, 84.74, 305.09°)
OKLaboklab(45.25% 0.0449 -0.1998)
OKLCHoklch(45.25% 0.205 282.7)
XYZxyz(14.0376, 8.0152, 51.2491)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35C1 #A8C135
analogous
#3562C1 #4E35C1 #9435C1
triadic
#4E35C1 #C14E35 #35C14E
tetradic
#4E35C1 #C13562 #A8C135 #35C194
square
#4E35C1 #C13562 #A8C135 #35C194
split-complementary
#4E35C1 #C19435 #62C135
monochromatic
#271B61 #3B2891 #4E35C1 #7560D3 #9E90E0

Accessibility & contrast

On white

8.07
#4E35C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E35C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35C1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35C1#FFFFFF#000000##FFFFFF
##4E35C11.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e35c1;
/* rgb */ color: rgb(78, 53, 193);
/* oklch */ color: oklch(45.2% 0.205 282.7);
Tailwind
colors: {
  custom: {
    50: '#8d6fd5',
    500: '#4e35c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e35c1;
$custom-light: #8d6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35c1",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 250.714,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45247,
    "c": 0.20482,
    "h": 282.7
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#4E35C1
secondary
#BFCB87
accent
#E048C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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