#4E2D64#4E2D64

#4E2D64 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.5% C 0.098 H 310.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4E2D64
RGBrgb(78, 45, 100)
HSLhsl(276, 38%, 28%)
HSVhsv(276, 55%, 39%)
CMYKcmyk(22%, 55%, 0%, 60.8%)
CIE-LABlab(25.00, 26.46, -26.69)
CIE-LCHlch(25.00, 37.59, 314.76°)
OKLaboklab(36.45% 0.0629 -0.0747)
OKLCHoklch(36.45% 0.098 310.1)
XYZxyz(6.3801, 4.4167, 12.5705)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D64 #43642D
analogous
#322D64 #4E2D64 #642D5E
triadic
#4E2D64 #644E2D #2D644E
tetradic
#4E2D64 #64322D #43642D #2D5E64
square
#4E2D64 #64322D #43642D #2D5E64
split-complementary
#4E2D64 #5E642D #2D6432
monochromatic
#100915 #2D1A3A #4E2D64 #6F408E #8F58B4

Accessibility & contrast

On white

11.15
#4E2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D64
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D64#FFFFFF#000000##FFFFFF
##4E2D641.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A66
Deuteranopia (green-blind)
#283C63
Tritanopia (blue-blind)
#4B3644
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2d64;
/* rgb */ color: rgb(78, 45, 100);
/* oklch */ color: oklch(36.5% 0.098 310.1);
Tailwind
colors: {
  custom: {
    50: '#816790',
    500: '#4e2d64',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d64;
$custom-light: #816790;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d64",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 276,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36452,
    "c": 0.09765,
    "h": 310.1
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#4E2D64
secondary
#709657
accent
#CE5A88
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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