#4E0F76#4E0F76

#4E0F76 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.159 H 306.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#4E0F76
RGBrgb(78, 15, 118)
HSLhsl(277, 77%, 26%)
HSVhsv(277, 87%, 46%)
CMYKcmyk(33.9%, 87.3%, 0%, 53.7%)
CIE-LABlab(21.09, 45.45, -44.62)
CIE-LCHlch(21.09, 63.69, 315.52°)
OKLaboklab(34.07% 0.0956 -0.1271)
OKLCHoklch(34.07% 0.159 306.9)
XYZxyz(6.5820, 3.2694, 17.4203)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F76 #37760F
analogous
#1A0F76 #4E0F76 #760F6A
triadic
#4E0F76 #764E0F #0F764E
tetradic
#4E0F76 #761A0F #37760F #0F6A76
square
#4E0F76 #761A0F #37760F #0F6A76
split-complementary
#4E0F76 #6A760F #0F761A
monochromatic
#12031B #2A0840 #4E0F76 #7216AC #961DE2

Accessibility & contrast

On white

12.70
#4E0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F76
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F76#FFFFFF#000000##FFFFFF
##4E0F761.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#472C45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e0f76;
/* rgb */ color: rgb(78, 15, 118);
/* oklch */ color: oklch(34.1% 0.159 306.9);
Tailwind
colors: {
  custom: {
    50: '#85589e',
    500: '#4e0f76',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f76;
$custom-light: #85589e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f76",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 276.699,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34067,
    "c": 0.15901,
    "h": 306.9
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#4E0F76
secondary
#63AD33
accent
#F4347E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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