#4E35C0#4E35C0

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

Color values

HEX#4E35C0
RGBrgb(78, 53, 192)
HSLhsl(251, 57%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(59.4%, 72.4%, 0%, 24.7%)
CIE-LABlab(33.92, 48.42, -68.91)
CIE-LCHlch(33.92, 84.22, 305.09°)
OKLaboklab(45.15% 0.0451 -0.1986)
OKLCHoklch(45.15% 0.204 282.8)
XYZxyz(13.9265, 7.9707, 50.6636)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35C0 #A7C035
analogous
#3562C0 #4E35C0 #9335C0
triadic
#4E35C0 #C04E35 #35C04E
tetradic
#4E35C0 #C03562 #A7C035 #35C093
square
#4E35C0 #C03562 #A7C035 #35C093
split-complementary
#4E35C0 #C09335 #62C035
monochromatic
#271B60 #3B2890 #4E35C0 #745FD3 #9E8FE0

Accessibility & contrast

On white

8.09
#4E35C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E35C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35C0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35C0#FFFFFF#000000##FFFFFF
##4E35C01.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e35c0;
/* rgb */ color: rgb(78, 53, 192);
/* oklch */ color: oklch(45.2% 0.204 282.8);
Tailwind
colors: {
  custom: {
    50: '#8c6fd4',
    500: '#4e35c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e35c0;
$custom-light: #8c6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35c0",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 250.791,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.20363,
    "h": 282.8
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E35C0

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

Preview Lab → · Contrast checker → · Palette generator →

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