#4E35B8#4E35B8

#4E35B8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.194 H 283.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4E35B8
RGBrgb(78, 53, 184)
HSLhsl(251, 55%, 46%)
HSVhsv(251, 71%, 72%)
CMYKcmyk(57.6%, 71.2%, 0%, 27.8%)
CIE-LABlab(33.19, 46.01, -65.39)
CIE-LCHlch(33.19, 79.95, 305.13°)
OKLaboklab(44.41% 0.0468 -0.1883)
OKLCHoklch(44.41% 0.194 283.9)
XYZxyz(13.0641, 7.6258, 46.1216)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35B8 #9FB835
analogous
#355EB8 #4E35B8 #9035B8
triadic
#4E35B8 #B84E35 #35B84E
tetradic
#4E35B8 #B8355E #9FB835 #35B890
square
#4E35B8 #B8355E #9FB835 #35B890
split-complementary
#4E35B8 #B89035 #5EB835
monochromatic
#261A59 #3A2788 #4E35B8 #715BD0 #9A8ADD

Accessibility & contrast

On white

8.32
#4E35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35B8
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35B8#FFFFFF#000000##FFFFFF
##4E35B81.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#145873
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e35b8;
/* rgb */ color: rgb(78, 53, 184);
/* oklch */ color: oklch(44.4% 0.194 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b6fce',
    500: '#4e35b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e35b8;
$custom-light: #8b6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35b8",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 251.45,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44411,
    "c": 0.19399,
    "h": 283.9
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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