#4E35CA#4E35CA

#4E35CA is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.215 H 281.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4E35CA
RGBrgb(78, 53, 202)
HSLhsl(250, 58%, 50%)
HSVhsv(250, 74%, 79%)
CMYKcmyk(61.4%, 73.8%, 0%, 20.8%)
CIE-LABlab(34.86, 51.41, -73.21)
CIE-LCHlch(34.86, 89.46, 305.07°)
OKLaboklab(46.1% 0.0429 -0.2111)
OKLCHoklch(46.1% 0.215 281.5)
XYZxyz(15.0723, 8.4291, 56.6984)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35CA #B1CA35
analogous
#3567CA #4E35CA #9835CA
triadic
#4E35CA #CA4E35 #35CA4E
tetradic
#4E35CA #CA3567 #B1CA35 #35CA98
square
#4E35CA #CA3567 #B1CA35 #35CA98
split-complementary
#4E35CA #CA9835 #67CA35
monochromatic
#291C69 #3B289A #4E35CA #7865D7 #A396E3

Accessibility & contrast

On white

7.82
#4E35CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E35CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35CA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35CA#FFFFFF#000000##FFFFFF
##4E35CA1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e35ca;
/* rgb */ color: rgb(78, 53, 202);
/* oklch */ color: oklch(46.1% 0.215 281.5);
Tailwind
colors: {
  custom: {
    50: '#8e6fdb',
    500: '#4e35ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e35ca;
$custom-light: #8e6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35ca",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 250.067,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.21547,
    "h": 281.5
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#4E35CA
secondary
#C4CF8C
accent
#E246C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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