#4E2D80#4E2D80

#4E2D80 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.134 H 298.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4E2D80
RGBrgb(78, 45, 128)
HSLhsl(264, 48%, 34%)
HSVhsv(264, 65%, 50%)
CMYKcmyk(39.1%, 64.8%, 0%, 49.8%)
CIE-LABlab(26.89, 34.03, -41.56)
CIE-LCHlch(26.89, 53.71, 309.31°)
OKLaboklab(38.44% 0.0632 -0.1182)
OKLCHoklch(38.44% 0.134 298.1)
XYZxyz(7.9756, 5.0549, 20.9734)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D80 #5F802D
analogous
#2D3680 #4E2D80 #782D80
triadic
#4E2D80 #804E2D #2D804E
tetradic
#4E2D80 #802D36 #5F802D #2D8078
square
#4E2D80 #802D36 #5F802D #2D8078
split-complementary
#4E2D80 #80782D #36802D
monochromatic
#170D25 #321D53 #4E2D80 #6A3DAD #8960C7

Accessibility & contrast

On white

10.44
#4E2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D80
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D80#FFFFFF#000000##FFFFFF
##4E2D801.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#043F7E
Tritanopia (blue-blind)
#423F52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2d80;
/* rgb */ color: rgb(78, 45, 128);
/* oklch */ color: oklch(38.4% 0.134 298.1);
Tailwind
colors: {
  custom: {
    50: '#8468a5',
    500: '#4e2d80',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d80;
$custom-light: #8468a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d80",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 263.855,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38439,
    "c": 0.13407,
    "h": 298.1
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#4E2D80
secondary
#8DAE5B
accent
#D850A2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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