#4E2C84#4E2C84

#4E2C84 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.141 H 297.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4E2C84
RGBrgb(78, 44, 132)
HSLhsl(263, 50%, 35%)
HSVhsv(263, 67%, 52%)
CMYKcmyk(40.9%, 66.7%, 0%, 48.2%)
CIE-LABlab(26.98, 35.73, -43.92)
CIE-LCHlch(26.98, 56.61, 309.13°)
OKLaboklab(38.6% 0.064 -0.1252)
OKLCHoklch(38.6% 0.141 297.1)
XYZxyz(8.2064, 5.0869, 22.3748)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C84 #62842C
analogous
#2C3684 #4E2C84 #7A2C84
triadic
#4E2C84 #844E2C #2C844E
tetradic
#4E2C84 #842C36 #62842C #2C847A
square
#4E2C84 #842C36 #62842C #2C847A
split-complementary
#4E2C84 #847A2C #36842C
monochromatic
#180D28 #331D56 #4E2C84 #693BB2 #8960CA

Accessibility & contrast

On white

10.41
#4E2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C84
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C84#FFFFFF#000000##FFFFFF
##4E2C841.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#414054
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2c84;
/* rgb */ color: rgb(78, 44, 132);
/* oklch */ color: oklch(38.6% 0.141 297.1);
Tailwind
colors: {
  custom: {
    50: '#8467a8',
    500: '#4e2c84',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c84;
$custom-light: #8467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c84",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 263.182,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38601,
    "c": 0.14061,
    "h": 297.1
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#4E2C84
secondary
#90B05C
accent
#DA4EA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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