#4E2A62#4E2A62

#4E2A62 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.8% C 0.101 H 312.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#4E2A62
RGBrgb(78, 42, 98)
HSLhsl(279, 40%, 27%)
HSVhsv(279, 57%, 38%)
CMYKcmyk(20.4%, 57.1%, 0%, 61.6%)
CIE-LABlab(24.19, 27.78, -26.68)
CIE-LCHlch(24.19, 38.52, 316.15°)
OKLaboklab(35.81% 0.0673 -0.0746)
OKLCHoklch(35.81% 0.101 312.1)
XYZxyz(6.1741, 4.1576, 12.0302)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A62 #3E622A
analogous
#322A62 #4E2A62 #622A5A
triadic
#4E2A62 #624E2A #2A624E
tetradic
#4E2A62 #62322A #3E622A #2A5A62
square
#4E2A62 #62322A #3E622A #2A5A62
split-complementary
#4E2A62 #5A622A #2A6232
monochromatic
#110915 #2C1837 #4E2A62 #703C8D #9152B5

Accessibility & contrast

On white

11.47
#4E2A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A62
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A62#FFFFFF#000000##FFFFFF
##4E2A621.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3864
Deuteranopia (green-blind)
#273A61
Tritanopia (blue-blind)
#4C3341
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2a62;
/* rgb */ color: rgb(78, 42, 98);
/* oklch */ color: oklch(35.8% 0.101 312.1);
Tailwind
colors: {
  custom: {
    50: '#81658f',
    500: '#4e2a62',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a62;
$custom-light: #81658f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a62",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 278.571,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35809,
    "c": 0.10052,
    "h": 312.1
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#4E2A62
secondary
#6B9453
accent
#D05883
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2A62

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

Preview Lab → · Contrast checker → · Palette generator →

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