#4E34B0#4E34B0

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

Color values

HEX#4E34B0
RGBrgb(78, 52, 176)
HSLhsl(253, 54%, 45%)
HSVhsv(253, 70%, 69%)
CMYKcmyk(55.7%, 70.5%, 0%, 31%)
CIE-LABlab(32.28, 44.15, -62.13)
CIE-LCHlch(32.28, 76.22, 305.39°)
OKLaboklab(43.54% 0.0491 -0.1787)
OKLCHoklch(43.54% 0.185 285.4)
XYZxyz(12.2040, 7.2096, 41.8144)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34B0 #96B034
analogous
#3458B0 #4E34B0 #8C34B0
triadic
#4E34B0 #B04E34 #34B04E
tetradic
#4E34B0 #B03458 #96B034 #34B08C
square
#4E34B0 #B03458 #96B034 #34B08C
split-complementary
#4E34B0 #B08C34 #58B034
monochromatic
#241852 #392681 #4E34B0 #6E55CD #9684DB

Accessibility & contrast

On white

8.60
#4E34B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E34B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34B0
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34B0#FFFFFF#000000##FFFFFF
##4E34B01.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#21556E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e34b0;
/* rgb */ color: rgb(78, 52, 176);
/* oklch */ color: oklch(43.5% 0.185 285.4);
Tailwind
colors: {
  custom: {
    50: '#8a6ec9',
    500: '#4e34b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e34b0;
$custom-light: #8a6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34b0",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 252.581,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.18535,
    "h": 285.4
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E34B0

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

Preview Lab → · Contrast checker → · Palette generator →

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