#4E2984#4E2984

#4E2984 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.145 H 297.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#4E2984
RGBrgb(78, 41, 132)
HSLhsl(264, 53%, 34%)
HSVhsv(264, 69%, 52%)
CMYKcmyk(40.9%, 68.9%, 0%, 48.2%)
CIE-LABlab(26.37, 37.41, -44.92)
CIE-LCHlch(26.37, 58.45, 309.79°)
OKLaboklab(38.16% 0.0675 -0.1281)
OKLCHoklch(38.16% 0.145 297.8)
XYZxyz(8.0986, 4.8714, 22.3389)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2984 #5F8429
analogous
#293284 #4E2984 #7C2984
triadic
#4E2984 #844E29 #29844E
tetradic
#4E2984 #842932 #5F8429 #29847C
square
#4E2984 #842932 #5F8429 #29847C
split-complementary
#4E2984 #847C29 #328429
monochromatic
#170C27 #321A55 #4E2984 #6A38B3 #895BCC

Accessibility & contrast

On white

10.64
#4E2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2984
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2984#FFFFFF#000000##FFFFFF
##4E29841.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#413E53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2984;
/* rgb */ color: rgb(78, 41, 132);
/* oklch */ color: oklch(38.2% 0.145 297.8);
Tailwind
colors: {
  custom: {
    50: '#8465a8',
    500: '#4e2984',
    950: '#000000',
  },
}
SCSS
$custom: #4e2984;
$custom-light: #8465a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2984",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 264.396,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.14482,
    "h": 297.8
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#4E2984
secondary
#8DB257
accent
#DC4CA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2984

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

Preview Lab → · Contrast checker → · Palette generator →

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