#4E2B80#4E2B80

#4E2B80 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.137 H 298.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2B80
RGBrgb(78, 43, 128)
HSLhsl(265, 50%, 34%)
HSVhsv(265, 66%, 50%)
CMYKcmyk(39.1%, 66.4%, 0%, 49.8%)
CIE-LABlab(26.46, 35.18, -42.24)
CIE-LCHlch(26.46, 54.97, 309.79°)
OKLaboklab(38.13% 0.0656 -0.1203)
OKLCHoklch(38.13% 0.137 298.6)
XYZxyz(7.9011, 4.9059, 20.9485)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B80 #5D802B
analogous
#2B3280 #4E2B80 #782B80
triadic
#4E2B80 #804E2B #2B804E
tetradic
#4E2B80 #802B32 #5D802B #2B8078
square
#4E2B80 #802B32 #5D802B #2B8078
split-complementary
#4E2B80 #80782B #32802B
monochromatic
#160C24 #321C52 #4E2B80 #6A3AAE #895DC9

Accessibility & contrast

On white

10.60
#4E2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E2B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B80
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B80#FFFFFF#000000##FFFFFF
##4E2B801.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2b80;
/* rgb */ color: rgb(78, 43, 128);
/* oklch */ color: oklch(38.1% 0.137 298.6);
Tailwind
colors: {
  custom: {
    50: '#8466a5',
    500: '#4e2b80',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b80;
$custom-light: #8466a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b80",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 264.706,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38131,
    "c": 0.13701,
    "h": 298.6
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#4E2B80
secondary
#8BAE58
accent
#D94FA0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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