#4E2E72#4E2E72

#4E2E72 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.6% C 0.114 H 303.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#4E2E72
RGBrgb(78, 46, 114)
HSLhsl(268, 43%, 31%)
HSVhsv(268, 60%, 45%)
CMYKcmyk(31.6%, 59.6%, 0%, 55.3%)
CIE-LABlab(26.12, 29.56, -33.92)
CIE-LCHlch(26.12, 44.99, 311.06°)
OKLaboklab(37.56% 0.0623 -0.0958)
OKLCHoklch(37.56% 0.114 303)
XYZxyz(7.1555, 4.7886, 16.4636)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E72 #52722E
analogous
#2E3072 #4E2E72 #702E72
triadic
#4E2E72 #724E2E #2E724E
tetradic
#4E2E72 #722E30 #52722E #2E7270
square
#4E2E72 #722E30 #52722E #2E7270
split-complementary
#4E2E72 #72702E #30722E
monochromatic
#120B1B #301C46 #4E2E72 #6C409E #8A5DBE

Accessibility & contrast

On white

10.73
#4E2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4E2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E72
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E72#FFFFFF#000000##FFFFFF
##4E2E721.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D74
Deuteranopia (green-blind)
#1E3E70
Tritanopia (blue-blind)
#473B4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2e72;
/* rgb */ color: rgb(78, 46, 114);
/* oklch */ color: oklch(37.6% 0.114 303.0);
Tailwind
colors: {
  custom: {
    50: '#82689b',
    500: '#4e2e72',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e72;
$custom-light: #82689b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e72",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 268.235,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37564,
    "c": 0.11428,
    "h": 303
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#4E2E72
secondary
#80A358
accent
#D25698
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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