#4E2A73#4E2A73

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

Color values

HEX#4E2A73
RGBrgb(78, 42, 115)
HSLhsl(270, 46%, 31%)
HSVhsv(270, 63%, 45%)
CMYKcmyk(32.2%, 63.5%, 0%, 54.9%)
CIE-LABlab(25.30, 32.19, -35.88)
CIE-LCHlch(25.30, 48.21, 311.90°)
OKLaboklab(36.99% 0.0678 -0.1016)
OKLCHoklch(36.99% 0.122 303.7)
XYZxyz(7.0637, 4.5135, 16.7154)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A73 #4F732A
analogous
#2A2A73 #4E2A73 #722A73
triadic
#4E2A73 #734E2A #2A734E
tetradic
#4E2A73 #732A2A #4F732A #2A7372
square
#4E2A73 #732A2A #4F732A #2A7372
split-complementary
#4E2A73 #73722A #2A732A
monochromatic
#110919 #301A46 #4E2A73 #6C3AA0 #8B56C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2A73#FFFFFF#000000##FFFFFF
##4E2A731.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)
#033B75
Deuteranopia (green-blind)
#173C71
Tritanopia (blue-blind)
#47394A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2a73;
/* rgb */ color: rgb(78, 42, 115);
/* oklch */ color: oklch(37.0% 0.122 303.7);
Tailwind
colors: {
  custom: {
    50: '#82659c',
    500: '#4e2a73',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a73;
$custom-light: #82659c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a73",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 269.589,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.1221,
    "h": 303.7
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#4E2A73
secondary
#7DA554
accent
#D65295
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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