#4E34AF#4E34AF

#4E34AF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.184 H 285.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4E34AF
RGBrgb(78, 52, 175)
HSLhsl(253, 54%, 45%)
HSVhsv(253, 70%, 69%)
CMYKcmyk(55.4%, 70.3%, 0%, 31.4%)
CIE-LABlab(32.19, 43.84, -61.68)
CIE-LCHlch(32.19, 75.68, 305.41°)
OKLaboklab(43.45% 0.0493 -0.1774)
OKLCHoklch(43.45% 0.184 285.5)
XYZxyz(12.1054, 7.1701, 41.2952)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34AF #95AF34
analogous
#3458AF #4E34AF #8C34AF
triadic
#4E34AF #AF4E34 #34AF4E
tetradic
#4E34AF #AF3458 #95AF34 #34AF8C
square
#4E34AF #AF3458 #95AF34 #34AF8C
split-complementary
#4E34AF #AF8C34 #58AF34
monochromatic
#241851 #392680 #4E34AF #6D54CC #9683DA

Accessibility & contrast

On white

8.63
#4E34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34AF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34AF#FFFFFF#000000##FFFFFF
##4E34AF1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#22546D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e34af;
/* rgb */ color: rgb(78, 52, 175);
/* oklch */ color: oklch(43.5% 0.184 285.5);
Tailwind
colors: {
  custom: {
    50: '#8a6ec8',
    500: '#4e34af',
    950: '#000000',
  },
}
SCSS
$custom: #4e34af;
$custom-light: #8a6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34af",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 252.683,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.18411,
    "h": 285.5
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#4E34AF
secondary
#B4C47B
accent
#DE4ABE
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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