#4E2E84#4E2E84

#4E2E84 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.138 H 296.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4E2E84
RGBrgb(78, 46, 132)
HSLhsl(262, 48%, 35%)
HSVhsv(262, 65%, 52%)
CMYKcmyk(40.9%, 65.2%, 0%, 48.2%)
CIE-LABlab(27.41, 34.58, -43.23)
CIE-LCHlch(27.41, 55.36, 308.66°)
OKLaboklab(38.91% 0.0616 -0.1232)
OKLCHoklch(38.91% 0.138 296.6)
XYZxyz(8.2827, 5.2395, 22.4003)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E84 #64842E
analogous
#2E3984 #4E2E84 #792E84
triadic
#4E2E84 #844E2E #2E844E
tetradic
#4E2E84 #842E39 #64842E #2E8479
square
#4E2E84 #842E39 #64842E #2E8479
split-complementary
#4E2E84 #84792E #39842E
monochromatic
#180E29 #331E57 #4E2E84 #693EB1 #8964C9

Accessibility & contrast

On white

10.25
#4E2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4E2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E84
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E84#FFFFFF#000000##FFFFFF
##4E2E841.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#004082
Tritanopia (blue-blind)
#414154
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2e84;
/* rgb */ color: rgb(78, 46, 132);
/* oklch */ color: oklch(38.9% 0.138 296.6);
Tailwind
colors: {
  custom: {
    50: '#8468a8',
    500: '#4e2e84',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e84;
$custom-light: #8468a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e84",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 262.326,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38909,
    "c": 0.13773,
    "h": 296.6
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#4E2E84
secondary
#91B05E
accent
#D850A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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