#4E2D62#4E2D62

#4E2D62 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.3% C 0.095 H 311.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4E2D62
RGBrgb(78, 45, 98)
HSLhsl(277, 37%, 28%)
HSVhsv(277, 54%, 38%)
CMYKcmyk(20.4%, 54.1%, 0%, 61.6%)
CIE-LABlab(24.88, 25.96, -25.58)
CIE-LCHlch(24.88, 36.44, 315.42°)
OKLaboklab(36.33% 0.0627 -0.0714)
OKLCHoklch(36.33% 0.095 311.3)
XYZxyz(6.2845, 4.3784, 12.0670)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D62 #41622D
analogous
#332D62 #4E2D62 #622D5B
triadic
#4E2D62 #624E2D #2D624E
tetradic
#4E2D62 #62332D #41622D #2D5B62
square
#4E2D62 #62332D #41622D #2D5B62
split-complementary
#4E2D62 #5B622D #2D6233
monochromatic
#110A15 #2D1A38 #4E2D62 #6F408C #9057B2

Accessibility & contrast

On white

11.20
#4E2D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D62
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D62#FFFFFF#000000##FFFFFF
##4E2D621.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203964
Deuteranopia (green-blind)
#2A3C61
Tritanopia (blue-blind)
#4C3643
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2d62;
/* rgb */ color: rgb(78, 45, 98);
/* oklch */ color: oklch(36.3% 0.095 311.3);
Tailwind
colors: {
  custom: {
    50: '#81678f',
    500: '#4e2d62',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d62;
$custom-light: #81678f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d62",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 277.358,
    "s": 37.063,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36325,
    "c": 0.09503,
    "h": 311.3
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#4E2D62
secondary
#6E9457
accent
#CD5B86
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2D62

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

Preview Lab → · Contrast checker → · Palette generator →

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