#4E2E66#4E2E66

#4E2E66 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.8% C 0.098 H 308.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4E2E66
RGBrgb(78, 46, 102)
HSLhsl(274, 38%, 29%)
HSVhsv(274, 55%, 40%)
CMYKcmyk(23.5%, 54.9%, 0%, 60%)
CIE-LABlab(25.36, 26.36, -27.42)
CIE-LCHlch(25.36, 38.04, 313.87°)
OKLaboklab(36.75% 0.0616 -0.0768)
OKLCHoklch(36.75% 0.098 308.7)
XYZxyz(6.5167, 4.5331, 13.0995)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E66 #46662E
analogous
#322E66 #4E2E66 #662E62
triadic
#4E2E66 #664E2E #2E664E
tetradic
#4E2E66 #66322E #46662E #2E6266
square
#4E2E66 #66322E #46662E #2E6266
split-complementary
#4E2E66 #62662E #2E6632
monochromatic
#100A15 #2E1B3C #4E2E66 #6E4190 #8E5AB5

Accessibility & contrast

On white

11.01
#4E2E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E2E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E66
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E66#FFFFFF#000000##FFFFFF
##4E2E661.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#283D65
Tritanopia (blue-blind)
#4B3845
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2e66;
/* rgb */ color: rgb(78, 46, 102);
/* oklch */ color: oklch(36.8% 0.098 308.7);
Tailwind
colors: {
  custom: {
    50: '#816892',
    500: '#4e2e66',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e66;
$custom-light: #816892;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e66",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 274.286,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.09844,
    "h": 308.7
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#4E2E66
secondary
#739858
accent
#CE5A8C
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2E66

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

Preview Lab → · Contrast checker → · Palette generator →

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