#4E2169#4E2169

#4E2169 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.124 H 310.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#4E2169
RGBrgb(78, 33, 105)
HSLhsl(278, 52%, 27%)
HSVhsv(278, 69%, 41%)
CMYKcmyk(25.7%, 68.6%, 0%, 58.8%)
CIE-LABlab(22.75, 34.63, -33.54)
CIE-LCHlch(22.75, 48.21, 315.92°)
OKLaboklab(34.91% 0.0802 -0.0946)
OKLCHoklch(34.91% 0.124 310.3)
XYZxyz(6.2351, 3.7275, 13.7529)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2169 #3C6921
analogous
#2A2169 #4E2169 #692160
triadic
#4E2169 #694E21 #21694E
tetradic
#4E2169 #692A21 #3C6921 #216069
square
#4E2169 #692A21 #3C6921 #216069
split-complementary
#4E2169 #606921 #21692A
monochromatic
#110717 #2B123A #4E2169 #713098 #9241C3

Accessibility & contrast

On white

12.03
#4E2169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E2169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2169
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2169#FFFFFF#000000##FFFFFF
##4E21691.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2169;
/* rgb */ color: rgb(78, 33, 105);
/* oklch */ color: oklch(34.9% 0.124 310.3);
Tailwind
colors: {
  custom: {
    50: '#826094',
    500: '#4e2169',
    950: '#000000',
  },
}
SCSS
$custom: #4e2169;
$custom-light: #826094;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2169",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 105
  },
  "hsl": {
    "h": 277.5,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3491,
    "c": 0.12403,
    "h": 310.3
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#4E2169
secondary
#689D49
accent
#DC4C82
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2169

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

Preview Lab → · Contrast checker → · Palette generator →

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