#4E2C66#4E2C66

#4E2C66 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.4% C 0.102 H 309.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#4E2C66
RGBrgb(78, 44, 102)
HSLhsl(275, 40%, 29%)
HSVhsv(275, 57%, 40%)
CMYKcmyk(23.5%, 56.9%, 0%, 60%)
CIE-LABlab(24.89, 27.59, -28.17)
CIE-LCHlch(24.89, 39.43, 314.40°)
OKLaboklab(36.41% 0.0646 -0.079)
OKLCHoklch(36.41% 0.102 309.3)
XYZxyz(6.4404, 4.3805, 13.0740)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C66 #44662C
analogous
#312C66 #4E2C66 #662C61
triadic
#4E2C66 #664E2C #2C664E
tetradic
#4E2C66 #66312C #44662C #2C6166
square
#4E2C66 #66312C #44662C #2C6166
split-complementary
#4E2C66 #61662C #2C6631
monochromatic
#100915 #2D1A3B #4E2C66 #6F3E91 #8E56B6

Accessibility & contrast

On white

11.19
#4E2C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2C66
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C66#FFFFFF#000000##FFFFFF
##4E2C661.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#263C65
Tritanopia (blue-blind)
#4B3644
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2c66;
/* rgb */ color: rgb(78, 44, 102);
/* oklch */ color: oklch(36.4% 0.102 309.3);
Tailwind
colors: {
  custom: {
    50: '#816692',
    500: '#4e2c66',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c66;
$custom-light: #816692;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c66",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 275.172,
    "s": 39.726,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36408,
    "c": 0.10205,
    "h": 309.3
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#4E2C66
secondary
#719856
accent
#D0588A
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2C66

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

Preview Lab → · Contrast checker → · Palette generator →

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