#4E277A#4E277A

#4E277A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.135 H 301.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#4E277A
RGBrgb(78, 39, 122)
HSLhsl(268, 52%, 32%)
HSVhsv(268, 68%, 48%)
CMYKcmyk(36.1%, 68%, 0%, 52.2%)
CIE-LABlab(25.19, 35.78, -40.52)
CIE-LCHlch(25.19, 54.06, 311.44°)
OKLaboklab(37.06% 0.0711 -0.1152)
OKLCHoklch(37.06% 0.135 301.7)
XYZxyz(7.3794, 4.4759, 18.8837)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E277A #537A27
analogous
#272A7A #4E277A #78277A
triadic
#4E277A #7A4E27 #277A4E
tetradic
#4E277A #7A272A #537A27 #277A78
square
#4E277A #7A272A #537A27 #277A78
split-complementary
#4E277A #7A7827 #2A7A27
monochromatic
#13091D #30184C #4E277A #6C36A8 #8A53C8

Accessibility & contrast

On white

11.08
#4E277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E277A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E277A#FFFFFF#000000##FFFFFF
##4E277A1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#043B78
Tritanopia (blue-blind)
#453A4D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e277a;
/* rgb */ color: rgb(78, 39, 122);
/* oklch */ color: oklch(37.1% 0.135 301.7);
Tailwind
colors: {
  custom: {
    50: '#8364a1',
    500: '#4e277a',
    950: '#000000',
  },
}
SCSS
$custom: #4e277a;
$custom-light: #8364a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e277a",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 268.193,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37064,
    "c": 0.13537,
    "h": 301.7
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#4E277A
secondary
#81AC51
accent
#DB4D98
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E277A

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

Preview Lab → · Contrast checker → · Palette generator →

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