#4E34BE#4E34BE

#4E34BE is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.8% C 0.202 H 283.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4E34BE
RGBrgb(78, 52, 190)
HSLhsl(251, 57%, 47%)
HSVhsv(251, 73%, 75%)
CMYKcmyk(58.9%, 72.6%, 0%, 25.5%)
CIE-LABlab(33.55, 48.35, -68.35)
CIE-LCHlch(33.55, 83.72, 305.27°)
OKLaboklab(44.83% 0.0463 -0.1969)
OKLCHoklch(44.83% 0.202 283.2)
XYZxyz(13.6613, 7.7925, 49.4894)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34BE #A4BE34
analogous
#345FBE #4E34BE #9334BE
triadic
#4E34BE #BE4E34 #34BE4E
tetradic
#4E34BE #BE345F #A4BE34 #34BE93
square
#4E34BE #BE345F #A4BE34 #34BE93
split-complementary
#4E34BE #BE9334 #5FBE34
monochromatic
#271A5E #3A278E #4E34BE #735DD3 #9C8DE0

Accessibility & contrast

On white

8.21
#4E34BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E34BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34BE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34BE#FFFFFF#000000##FFFFFF
##4E34BE1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#035A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e34be;
/* rgb */ color: rgb(78, 52, 190);
/* oklch */ color: oklch(44.8% 0.202 283.2);
Tailwind
colors: {
  custom: {
    50: '#8c6ed3',
    500: '#4e34be',
    950: '#000000',
  },
}
SCSS
$custom: #4e34be;
$custom-light: #8c6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34be",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 251.304,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.20229,
    "h": 283.2
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#4E34BE
secondary
#BDCA84
accent
#E048C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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