#4E2D77#4E2D77

#4E2D77 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.122 H 301.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4E2D77
RGBrgb(78, 45, 119)
HSLhsl(267, 45%, 32%)
HSVhsv(267, 62%, 47%)
CMYKcmyk(34.5%, 62.2%, 0%, 53.3%)
CIE-LABlab(26.24, 31.52, -36.92)
CIE-LCHlch(26.24, 48.55, 310.49°)
OKLaboklab(37.76% 0.0636 -0.1046)
OKLCHoklch(37.76% 0.122 301.3)
XYZxyz(7.4093, 4.8284, 17.9908)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D77 #56772D
analogous
#2D3177 #4E2D77 #732D77
triadic
#4E2D77 #774E2D #2D774E
tetradic
#4E2D77 #772D31 #56772D #2D7773
square
#4E2D77 #772D31 #56772D #2D7773
split-complementary
#4E2D77 #77732D #31772D
monochromatic
#140B1E #311C4B #4E2D77 #6B3EA3 #8A5DC2

Accessibility & contrast

On white

10.68
#4E2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E2D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D77
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D77#FFFFFF#000000##FFFFFF
##4E2D771.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053E79
Deuteranopia (green-blind)
#173E75
Tritanopia (blue-blind)
#463C4D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2d77;
/* rgb */ color: rgb(78, 45, 119);
/* oklch */ color: oklch(37.8% 0.122 301.3);
Tailwind
colors: {
  custom: {
    50: '#83679f',
    500: '#4e2d77',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d77;
$custom-light: #83679f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d77",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 266.757,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37759,
    "c": 0.12245,
    "h": 301.3
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#4E2D77
secondary
#84A858
accent
#D5539B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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