#4E35AF#4E35AF

#4E35AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.183 H 285.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4E35AF
RGBrgb(78, 53, 175)
HSLhsl(252, 54%, 45%)
HSVhsv(252, 70%, 69%)
CMYKcmyk(55.4%, 69.7%, 0%, 31.4%)
CIE-LABlab(32.39, 43.29, -61.35)
CIE-LCHlch(32.39, 75.09, 305.21°)
OKLaboklab(43.6% 0.0484 -0.1764)
OKLCHoklch(43.6% 0.183 285.3)
XYZxyz(12.1505, 7.2604, 41.3103)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35AF #96AF35
analogous
#3559AF #4E35AF #8B35AF
triadic
#4E35AF #AF4E35 #35AF4E
tetradic
#4E35AF #AF3559 #96AF35 #35AF8B
square
#4E35AF #AF3559 #96AF35 #35AF8B
split-complementary
#4E35AF #AF8B35 #59AF35
monochromatic
#241951 #392780 #4E35AF #6E56CC #9685DA

Accessibility & contrast

On white

8.56
#4E35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35AF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35AF#FFFFFF#000000##FFFFFF
##4E35AF1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#22556E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e35af;
/* rgb */ color: rgb(78, 53, 175);
/* oklch */ color: oklch(43.6% 0.183 285.3);
Tailwind
colors: {
  custom: {
    50: '#8a6ec8',
    500: '#4e35af',
    950: '#000000',
  },
}
SCSS
$custom: #4e35af;
$custom-light: #8a6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35af",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 252.295,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.18296,
    "h": 285.3
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#4E35AF
secondary
#B5C47C
accent
#DD4BBF
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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