#4E2A68#4E2A68

#4E2A68 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.108 H 308.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#4E2A68
RGBrgb(78, 42, 104)
HSLhsl(275, 42%, 29%)
HSVhsv(275, 60%, 41%)
CMYKcmyk(25%, 59.6%, 0%, 59.2%)
CIE-LABlab(24.56, 29.30, -29.99)
CIE-LCHlch(24.56, 41.93, 314.34°)
OKLaboklab(36.21% 0.0677 -0.0843)
OKLCHoklch(36.21% 0.108 308.8)
XYZxyz(6.4680, 4.2752, 13.5785)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A68 #44682A
analogous
#2F2A68 #4E2A68 #682A63
triadic
#4E2A68 #684E2A #2A684E
tetradic
#4E2A68 #682F2A #44682A #2A6368
square
#4E2A68 #682F2A #44682A #2A6368
split-complementary
#4E2A68 #63682A #2A682F
monochromatic
#100916 #2D183C #4E2A68 #6F3C94 #8E53B9

Accessibility & contrast

On white

11.32
#4E2A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A68
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A68#FFFFFF#000000##FFFFFF
##4E2A681.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15396A
Deuteranopia (green-blind)
#223B66
Tritanopia (blue-blind)
#4A3544
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2a68;
/* rgb */ color: rgb(78, 42, 104);
/* oklch */ color: oklch(36.2% 0.108 308.8);
Tailwind
colors: {
  custom: {
    50: '#826593',
    500: '#4e2a68',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a68;
$custom-light: #826593;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a68",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 274.839,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36206,
    "c": 0.10812,
    "h": 308.8
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#4E2A68
secondary
#719A54
accent
#D2568A
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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