#4E277D#4E277D

#4E277D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.139 H 300.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4E277D
RGBrgb(78, 39, 125)
HSLhsl(267, 52%, 32%)
HSVhsv(267, 69%, 49%)
CMYKcmyk(37.6%, 68.8%, 0%, 51%)
CIE-LABlab(25.42, 36.59, -42.05)
CIE-LCHlch(25.42, 55.74, 311.03°)
OKLaboklab(37.3% 0.0708 -0.1197)
OKLCHoklch(37.3% 0.139 300.6)
XYZxyz(7.5682, 4.5514, 19.8778)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E277D #567D27
analogous
#272B7D #4E277D #79277D
triadic
#4E277D #7D4E27 #277D4E
tetradic
#4E277D #7D272B #567D27 #277D79
square
#4E277D #7D272B #567D27 #277D79
split-complementary
#4E277D #7D7927 #2B7D27
monochromatic
#140A20 #31184E #4E277D #6B36AC #8A55CA

Accessibility & contrast

On white

10.99
#4E277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E277D
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E277D#FFFFFF#000000##FFFFFF
##4E277D1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#443B4E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e277d;
/* rgb */ color: rgb(78, 39, 125);
/* oklch */ color: oklch(37.3% 0.139 300.6);
Tailwind
colors: {
  custom: {
    50: '#8464a3',
    500: '#4e277d',
    950: '#000000',
  },
}
SCSS
$custom: #4e277d;
$custom-light: #8464a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e277d",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 267.209,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.13903,
    "h": 300.6
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#4E277D
secondary
#84AF51
accent
#DC4C9B
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E277D

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

Preview Lab → · Contrast checker → · Palette generator →

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