#4E2D66#4E2D66

#4E2D66 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.6% C 0.100 H 309.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#4E2D66
RGBrgb(78, 45, 102)
HSLhsl(275, 39%, 29%)
HSVhsv(275, 56%, 40%)
CMYKcmyk(23.5%, 55.9%, 0%, 60%)
CIE-LABlab(25.12, 26.98, -27.80)
CIE-LCHlch(25.12, 38.73, 314.14°)
OKLaboklab(36.58% 0.0631 -0.0779)
OKLCHoklch(36.58% 0.1 309)
XYZxyz(6.4781, 4.4559, 13.0866)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D66 #45662D
analogous
#322D66 #4E2D66 #662D62
triadic
#4E2D66 #664E2D #2D664E
tetradic
#4E2D66 #66322D #45662D #2D6266
square
#4E2D66 #66322D #45662D #2D6266
split-complementary
#4E2D66 #62662D #2D6632
monochromatic
#100915 #2E1A3C #4E2D66 #6E4090 #8E58B5

Accessibility & contrast

On white

11.10
#4E2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E2D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D66
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D66#FFFFFF#000000##FFFFFF
##4E2D661.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A68
Deuteranopia (green-blind)
#273C65
Tritanopia (blue-blind)
#4B3745
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2d66;
/* rgb */ color: rgb(78, 45, 102);
/* oklch */ color: oklch(36.6% 0.100 309.0);
Tailwind
colors: {
  custom: {
    50: '#816792',
    500: '#4e2d66',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d66;
$custom-light: #816792;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d66",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 274.737,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36581,
    "c": 0.10025,
    "h": 309
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#4E2D66
secondary
#729857
accent
#CF598B
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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