#4E2A77#4E2A77

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

Color values

HEX#4E2A77
RGBrgb(78, 42, 119)
HSLhsl(268, 48%, 32%)
HSVhsv(268, 65%, 47%)
CMYKcmyk(34.5%, 64.7%, 0%, 53.3%)
CIE-LABlab(25.59, 33.27, -37.97)
CIE-LCHlch(25.59, 50.49, 311.23°)
OKLaboklab(37.28% 0.0676 -0.1077)
OKLCHoklch(37.28% 0.127 302.1)
XYZxyz(7.2988, 4.6075, 17.9540)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A77 #53772A
analogous
#2A2D77 #4E2A77 #752A77
triadic
#4E2A77 #774E2A #2A774E
tetradic
#4E2A77 #772A2D #53772A #2A7775
square
#4E2A77 #772A2D #53772A #2A7775
split-complementary
#4E2A77 #77752A #2D772A
monochromatic
#130A1D #301A4A #4E2A77 #6C3AA4 #8A58C4

Accessibility & contrast

On white

10.93
#4E2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E2A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A77
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A77#FFFFFF#000000##FFFFFF
##4E2A771.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#123C75
Tritanopia (blue-blind)
#463A4C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2a77;
/* rgb */ color: rgb(78, 42, 119);
/* oklch */ color: oklch(37.3% 0.127 302.1);
Tailwind
colors: {
  custom: {
    50: '#83669f',
    500: '#4e2a77',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a77;
$custom-light: #83669f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a77",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 268.052,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37283,
    "c": 0.12716,
    "h": 302.1
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#4E2A77
secondary
#81A954
accent
#D75098
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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