#4E2C80#4E2C80

#4E2C80 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.136 H 298.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#4E2C80
RGBrgb(78, 44, 128)
HSLhsl(264, 49%, 34%)
HSVhsv(264, 66%, 50%)
CMYKcmyk(39.1%, 65.6%, 0%, 49.8%)
CIE-LABlab(26.68, 34.60, -41.90)
CIE-LCHlch(26.68, 54.34, 309.55°)
OKLaboklab(38.28% 0.0644 -0.1193)
OKLCHoklch(38.28% 0.136 298.4)
XYZxyz(7.9379, 4.9795, 20.9608)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C80 #5E802C
analogous
#2C3480 #4E2C80 #782C80
triadic
#4E2C80 #804E2C #2C804E
tetradic
#4E2C80 #802C34 #5E802C #2C8078
square
#4E2C80 #802C34 #5E802C #2C8078
split-complementary
#4E2C80 #80782C #34802C
monochromatic
#160D25 #321C52 #4E2C80 #6A3CAE #895FC8

Accessibility & contrast

On white

10.52
#4E2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C80
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C80#FFFFFF#000000##FFFFFF
##4E2C801.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#013E7E
Tritanopia (blue-blind)
#423F52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2c80;
/* rgb */ color: rgb(78, 44, 128);
/* oklch */ color: oklch(38.3% 0.136 298.4);
Tailwind
colors: {
  custom: {
    50: '#8467a5',
    500: '#4e2c80',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c80;
$custom-light: #8467a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c80",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 264.286,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38284,
    "c": 0.13554,
    "h": 298.4
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#4E2C80
secondary
#8CAE5A
accent
#D84FA1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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