#4E2069#4E2069

#4E2069 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.126 H 310.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#4E2069
RGBrgb(78, 32, 105)
HSLhsl(278, 53%, 27%)
HSVhsv(278, 70%, 41%)
CMYKcmyk(25.7%, 69.5%, 0%, 58.8%)
CIE-LABlab(22.56, 35.16, -33.84)
CIE-LCHlch(22.56, 48.80, 316.09°)
OKLaboklab(34.77% 0.0814 -0.0955)
OKLCHoklch(34.77% 0.126 310.4)
XYZxyz(6.2077, 3.6728, 13.7438)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2069 #3B6920
analogous
#292069 #4E2069 #692060
triadic
#4E2069 #694E20 #20694E
tetradic
#4E2069 #692920 #3B6920 #206069
square
#4E2069 #692920 #3B6920 #206069
split-complementary
#4E2069 #606920 #206929
monochromatic
#110717 #2B123A #4E2069 #712E98 #933FC4

Accessibility & contrast

On white

12.11
#4E2069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E2069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2069
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2069#FFFFFF#000000##FFFFFF
##4E20691.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#163767
Tritanopia (blue-blind)
#4A2F41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2069;
/* rgb */ color: rgb(78, 32, 105);
/* oklch */ color: oklch(34.8% 0.126 310.4);
Tailwind
colors: {
  custom: {
    50: '#825f94',
    500: '#4e2069',
    950: '#000000',
  },
}
SCSS
$custom: #4e2069;
$custom-light: #825f94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2069",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 105
  },
  "hsl": {
    "h": 277.808,
    "s": 53.285,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34773,
    "c": 0.12554,
    "h": 310.4
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#4E2069
secondary
#679D48
accent
#DD4B81
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2069

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

Preview Lab → · Contrast checker → · Palette generator →

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