#4E2A66#4E2A66

#4E2A66 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.1% C 0.106 H 309.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#4E2A66
RGBrgb(78, 42, 102)
HSLhsl(276, 42%, 28%)
HSVhsv(276, 59%, 40%)
CMYKcmyk(23.5%, 58.8%, 0%, 60%)
CIE-LABlab(24.43, 28.79, -28.89)
CIE-LCHlch(24.43, 40.79, 314.90°)
OKLaboklab(36.07% 0.0676 -0.0811)
OKLCHoklch(36.07% 0.106 309.8)
XYZxyz(6.3677, 4.2351, 13.0498)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A66 #42662A
analogous
#302A66 #4E2A66 #662A60
triadic
#4E2A66 #664E2A #2A664E
tetradic
#4E2A66 #66302A #42662A #2A6066
square
#4E2A66 #66302A #42662A #2A6066
split-complementary
#4E2A66 #60662A #2A6630
monochromatic
#110916 #2D183B #4E2A66 #6F3C91 #8F52B8

Accessibility & contrast

On white

11.37
#4E2A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E2A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A66
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A66#FFFFFF#000000##FFFFFF
##4E2A661.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173868
Deuteranopia (green-blind)
#243B65
Tritanopia (blue-blind)
#4B3543
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2a66;
/* rgb */ color: rgb(78, 42, 102);
/* oklch */ color: oklch(36.1% 0.106 309.8);
Tailwind
colors: {
  custom: {
    50: '#816592',
    500: '#4e2a66',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a66;
$custom-light: #816592;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a66",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 276,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36072,
    "c": 0.10558,
    "h": 309.8
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#4E2A66
secondary
#6F9854
accent
#D15688
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2A66

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

Preview Lab → · Contrast checker → · Palette generator →

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