#4E35A8#4E35A8

#4E35A8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.174 H 286.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4E35A8
RGBrgb(78, 53, 168)
HSLhsl(253, 52%, 43%)
HSVhsv(253, 68%, 66%)
CMYKcmyk(53.6%, 68.5%, 0%, 34.1%)
CIE-LABlab(31.79, 41.17, -58.15)
CIE-LCHlch(31.79, 71.25, 305.30°)
OKLaboklab(42.98% 0.0496 -0.167)
OKLCHoklch(42.98% 0.174 286.5)
XYZxyz(11.4808, 6.9925, 37.7829)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35A8 #8FA835
analogous
#3556A8 #4E35A8 #8735A8
triadic
#4E35A8 #A84E35 #35A84E
tetradic
#4E35A8 #A83556 #8FA835 #35A887
square
#4E35A8 #A83556 #8FA835 #35A887
split-complementary
#4E35A8 #A88735 #56A835
monochromatic
#23184B #382679 #4E35A8 #6C52C8 #9380D7

Accessibility & contrast

On white

8.76
#4E35A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E35A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35A8
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35A8#FFFFFF#000000##FFFFFF
##4E35A81.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#2A526A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e35a8;
/* rgb */ color: rgb(78, 53, 168);
/* oklch */ color: oklch(43.0% 0.174 286.5);
Tailwind
colors: {
  custom: {
    50: '#886ec3',
    500: '#4e35a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e35a8;
$custom-light: #886ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35a8",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 253.043,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.17424,
    "h": 286.5
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#4E35A8
secondary
#B1C078
accent
#DB4CBC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E35A8

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

Preview Lab → · Contrast checker → · Palette generator →

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