#4E34BD#4E34BD

#4E34BD is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.201 H 283.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E34BD
RGBrgb(78, 52, 189)
HSLhsl(251, 57%, 47%)
HSVhsv(251, 72%, 74%)
CMYKcmyk(58.7%, 72.5%, 0%, 25.9%)
CIE-LABlab(33.45, 48.05, -67.91)
CIE-LCHlch(33.45, 83.19, 305.28°)
OKLaboklab(44.74% 0.0465 -0.1956)
OKLCHoklch(44.74% 0.201 283.4)
XYZxyz(13.5524, 7.7489, 48.9158)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34BD #A3BD34
analogous
#345FBD #4E34BD #9334BD
triadic
#4E34BD #BD4E34 #34BD4E
tetradic
#4E34BD #BD345F #A3BD34 #34BD93
square
#4E34BD #BD345F #A3BD34 #34BD93
split-complementary
#4E34BD #BD9334 #5FBD34
monochromatic
#261A5D #3A278D #4E34BD #725CD2 #9C8CDF

Accessibility & contrast

On white

8.24
#4E34BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E34BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34BD
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34BD#FFFFFF#000000##FFFFFF
##4E34BD1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#075A75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e34bd;
/* rgb */ color: rgb(78, 52, 189);
/* oklch */ color: oklch(44.7% 0.201 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c6ed2',
    500: '#4e34bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e34bd;
$custom-light: #8c6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34bd",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 251.387,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.20109,
    "h": 283.4
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#4E34BD
secondary
#BCCA83
accent
#E048C3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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