#4E2A75#4E2A75

#4E2A75 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.125 H 302.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4E2A75
RGBrgb(78, 42, 117)
HSLhsl(269, 47%, 31%)
HSVhsv(269, 64%, 46%)
CMYKcmyk(33.3%, 64.1%, 0%, 54.1%)
CIE-LABlab(25.44, 32.73, -36.93)
CIE-LCHlch(25.44, 49.35, 311.55°)
OKLaboklab(37.13% 0.0677 -0.1046)
OKLCHoklch(37.13% 0.125 302.9)
XYZxyz(7.1800, 4.5600, 17.3281)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A75 #51752A
analogous
#2A2B75 #4E2A75 #732A75
triadic
#4E2A75 #754E2A #2A754E
tetradic
#4E2A75 #752A2B #51752A #2A7573
square
#4E2A75 #752A2B #51752A #2A7573
split-complementary
#4E2A75 #75732A #2B752A
monochromatic
#120A1B #301A48 #4E2A75 #6C3AA2 #8B57C3

Accessibility & contrast

On white

10.98
#4E2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2A75
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A75#FFFFFF#000000##FFFFFF
##4E2A751.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#153C73
Tritanopia (blue-blind)
#463A4B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2a75;
/* rgb */ color: rgb(78, 42, 117);
/* oklch */ color: oklch(37.1% 0.125 302.9);
Tailwind
colors: {
  custom: {
    50: '#83669d',
    500: '#4e2a75',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a75;
$custom-light: #83669d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a75",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 268.8,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37133,
    "c": 0.12463,
    "h": 302.9
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#4E2A75
secondary
#7FA754
accent
#D75197
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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