#4E1E68#4E1E68

#4E1E68 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.127 H 311.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#4E1E68
RGBrgb(78, 30, 104)
HSLhsl(279, 55%, 26%)
HSVhsv(279, 71%, 41%)
CMYKcmyk(25%, 71.2%, 0%, 59.2%)
CIE-LABlab(22.12, 35.94, -33.91)
CIE-LCHlch(22.12, 49.41, 316.67°)
OKLaboklab(34.43% 0.084 -0.0957)
OKLCHoklch(34.43% 0.127 311.3)
XYZxyz(6.1044, 3.5479, 13.4573)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E68 #38681E
analogous
#291E68 #4E1E68 #681E5D
triadic
#4E1E68 #684E1E #1E684E
tetradic
#4E1E68 #68291E #38681E #1E5D68
square
#4E1E68 #68291E #38681E #1E5D68
split-complementary
#4E1E68 #5D681E #1E6829
monochromatic
#120718 #2A1039 #4E1E68 #722C98 #953AC6

Accessibility & contrast

On white

12.28
#4E1E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E1E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E68
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E68#FFFFFF#000000##FFFFFF
##4E1E681.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#153666
Tritanopia (blue-blind)
#4B2D40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1e68;
/* rgb */ color: rgb(78, 30, 104);
/* oklch */ color: oklch(34.4% 0.127 311.3);
Tailwind
colors: {
  custom: {
    50: '#825e94',
    500: '#4e1e68',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e68;
$custom-light: #825e94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e68",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 278.919,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34432,
    "c": 0.12737,
    "h": 311.3
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#4E1E68
secondary
#649D45
accent
#DF497E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1E68

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

Preview Lab → · Contrast checker → · Palette generator →

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