#4E2B77#4E2B77

#4E2B77 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.126 H 301.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4E2B77
RGBrgb(78, 43, 119)
HSLhsl(268, 47%, 32%)
HSVhsv(268, 64%, 47%)
CMYKcmyk(34.5%, 63.9%, 0%, 53.3%)
CIE-LABlab(25.80, 32.70, -37.63)
CIE-LCHlch(25.80, 49.85, 310.99°)
OKLaboklab(37.44% 0.0663 -0.1067)
OKLCHoklch(37.44% 0.126 301.8)
XYZxyz(7.3348, 4.6793, 17.9660)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B77 #54772B
analogous
#2B2E77 #4E2B77 #742B77
triadic
#4E2B77 #774E2B #2B774E
tetradic
#4E2B77 #772B2E #54772B #2B7774
square
#4E2B77 #772B2E #54772B #2B7774
split-complementary
#4E2B77 #77742B #2E772B
monochromatic
#130B1D #311B4A #4E2B77 #6B3BA4 #8A59C3

Accessibility & contrast

On white

10.85
#4E2B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E2B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B77
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B77#FFFFFF#000000##FFFFFF
##4E2B771.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#133D75
Tritanopia (blue-blind)
#463B4C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2b77;
/* rgb */ color: rgb(78, 43, 119);
/* oklch */ color: oklch(37.4% 0.126 301.8);
Tailwind
colors: {
  custom: {
    50: '#83669f',
    500: '#4e2b77',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b77;
$custom-light: #83669f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b77",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 267.632,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37439,
    "c": 0.1256,
    "h": 301.8
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#4E2B77
secondary
#82A955
accent
#D75199
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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