#4E2A6D#4E2A6D

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

Color values

HEX#4E2A6D
RGBrgb(78, 42, 109)
HSLhsl(272, 44%, 30%)
HSVhsv(272, 61%, 43%)
CMYKcmyk(28.4%, 61.5%, 0%, 57.3%)
CIE-LABlab(24.89, 30.60, -32.69)
CIE-LCHlch(24.89, 44.78, 313.11°)
OKLaboklab(36.55% 0.0678 -0.0922)
OKLCHoklch(36.55% 0.114 306.3)
XYZxyz(6.7296, 4.3798, 14.9559)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A6D #496D2A
analogous
#2D2A6D #4E2A6D #6D2A6B
triadic
#4E2A6D #6D4E2A #2A6D4E
tetradic
#4E2A6D #6D2D2A #496D2A #2A6B6D
square
#4E2A6D #6D2D2A #496D2A #2A6B6D
split-complementary
#4E2A6D #6B6D2A #2A6D2D
monochromatic
#100916 #2E1941 #4E2A6D #6E3B99 #8D54BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2A6D#FFFFFF#000000##FFFFFF
##4E2A6D1.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)
#0F3A6F
Deuteranopia (green-blind)
#1E3B6B
Tritanopia (blue-blind)
#493747
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2a6d;
/* rgb */ color: rgb(78, 42, 109);
/* oklch */ color: oklch(36.6% 0.114 306.3);
Tailwind
colors: {
  custom: {
    50: '#826597',
    500: '#4e2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a6d;
$custom-light: #826597;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a6d",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 272.239,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36552,
    "c": 0.11448,
    "h": 306.3
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#4E2A6D
secondary
#779F54
accent
#D4548F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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