#4E2976#4E2976

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

Color values

HEX#4E2976
RGBrgb(78, 41, 118)
HSLhsl(269, 48%, 31%)
HSVhsv(269, 65%, 46%)
CMYKcmyk(33.9%, 65.3%, 0%, 53.7%)
CIE-LABlab(25.30, 33.58, -37.79)
CIE-LCHlch(25.30, 50.56, 311.62°)
OKLaboklab(37.05% 0.0689 -0.1072)
OKLCHoklch(37.05% 0.127 302.7)
XYZxyz(7.2041, 4.5136, 17.6277)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2976 #517629
analogous
#292A76 #4E2976 #742976
triadic
#4E2976 #764E29 #29764E
tetradic
#4E2976 #76292A #517629 #297674
square
#4E2976 #76292A #517629 #297674
split-complementary
#4E2976 #767429 #2A7629
monochromatic
#12091B #301949 #4E2976 #6C39A3 #8B55C4

Accessibility & contrast

On white

11.04
#4E2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2976
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2976#FFFFFF#000000##FFFFFF
##4E29761.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#113C74
Tritanopia (blue-blind)
#46394B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2976;
/* rgb */ color: rgb(78, 41, 118);
/* oklch */ color: oklch(37.1% 0.127 302.7);
Tailwind
colors: {
  custom: {
    50: '#83659e',
    500: '#4e2976',
    950: '#000000',
  },
}
SCSS
$custom: #4e2976;
$custom-light: #83659e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2976",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 268.831,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37053,
    "c": 0.12743,
    "h": 302.7
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#4E2976
secondary
#7FA853
accent
#D85097
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2976

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

Preview Lab → · Contrast checker → · Palette generator →

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