#4E34AE#4E34AE

#4E34AE is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.183 H 285.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4E34AE
RGBrgb(78, 52, 174)
HSLhsl(253, 54%, 44%)
HSVhsv(253, 70%, 68%)
CMYKcmyk(55.2%, 70.1%, 0%, 31.8%)
CIE-LABlab(32.10, 43.54, -61.23)
CIE-LCHlch(32.10, 75.13, 305.42°)
OKLaboklab(43.36% 0.0495 -0.1761)
OKLCHoklch(43.36% 0.183 285.7)
XYZxyz(12.0076, 7.1310, 40.7799)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34AE #94AE34
analogous
#3457AE #4E34AE #8B34AE
triadic
#4E34AE #AE4E34 #34AE4E
tetradic
#4E34AE #AE3457 #94AE34 #34AE8B
square
#4E34AE #AE3457 #94AE34 #34AE8B
split-complementary
#4E34AE #AE8B34 #57AE34
monochromatic
#241850 #39267F #4E34AE #6D53CC #9583DA

Accessibility & contrast

On white

8.65
#4E34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E34AE
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34AE#FFFFFF#000000##FFFFFF
##4E34AE1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#24546D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e34ae;
/* rgb */ color: rgb(78, 52, 174);
/* oklch */ color: oklch(43.4% 0.183 285.7);
Tailwind
colors: {
  custom: {
    50: '#896ec7',
    500: '#4e34ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e34ae;
$custom-light: #896ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34ae",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 252.787,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43362,
    "c": 0.18288,
    "h": 285.7
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#4E34AE
secondary
#B4C37B
accent
#DD4ABE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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