#4E1A73#4E1A73

#4E1A73 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.145 H 306.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#4E1A73
RGBrgb(78, 26, 115)
HSLhsl(275, 63%, 28%)
HSVhsv(275, 77%, 45%)
CMYKcmyk(32.2%, 77.4%, 0%, 54.9%)
CIE-LABlab(22.29, 40.52, -40.75)
CIE-LCHlch(22.29, 57.47, 314.84°)
OKLaboklab(34.82% 0.0869 -0.1158)
OKLCHoklch(34.82% 0.145 306.9)
XYZxyz(6.6051, 3.5964, 16.5625)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A73 #3F731A
analogous
#211A73 #4E1A73 #731A6C
triadic
#4E1A73 #734E1A #1A734E
tetradic
#4E1A73 #73211A #3F731A #1A6C73
square
#4E1A73 #73211A #3F731A #1A6C73
split-complementary
#4E1A73 #6C731A #1A7321
monochromatic
#110619 #2C0F41 #4E1A73 #7025A5 #9136D2

Accessibility & contrast

On white

12.21
#4E1A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E1A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A73
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A73#FFFFFF#000000##FFFFFF
##4E1A731.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#482F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1a73;
/* rgb */ color: rgb(78, 26, 115);
/* oklch */ color: oklch(34.8% 0.145 306.9);
Tailwind
colors: {
  custom: {
    50: '#845c9c',
    500: '#4e1a73',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a73;
$custom-light: #845c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a73",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 275.056,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34824,
    "c": 0.14476,
    "h": 306.9
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#4E1A73
secondary
#6CA841
accent
#E64286
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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