#4E1A70#4E1A70

#4E1A70 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.142 H 308.2°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#4E1A70
RGBrgb(78, 26, 112)
HSLhsl(276, 62%, 27%)
HSVhsv(276, 77%, 44%)
CMYKcmyk(30.4%, 76.8%, 0%, 56.1%)
CIE-LABlab(22.05, 39.79, -39.21)
CIE-LCHlch(22.05, 55.86, 315.43°)
OKLaboklab(34.58% 0.0875 -0.1112)
OKLCHoklch(34.58% 0.142 308.2)
XYZxyz(6.4353, 3.5284, 15.6681)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A70 #3C701A
analogous
#231A70 #4E1A70 #701A67
triadic
#4E1A70 #704E1A #1A704E
tetradic
#4E1A70 #70231A #3C701A #1A6770
square
#4E1A70 #70231A #3C701A #1A6770
split-complementary
#4E1A70 #67701A #1A7023
monochromatic
#110619 #2B0E3E #4E1A70 #7126A2 #9234D0

Accessibility & contrast

On white

12.31
#4E1A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E1A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A70
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A70#FFFFFF#000000##FFFFFF
##4E1A701.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#492E43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1a70;
/* rgb */ color: rgb(78, 26, 112);
/* oklch */ color: oklch(34.6% 0.142 308.2);
Tailwind
colors: {
  custom: {
    50: '#835c9a',
    500: '#4e1a70',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a70;
$custom-light: #835c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a70",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 276.279,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.14153,
    "h": 308.2
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#4E1A70
secondary
#68A541
accent
#E54283
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1A70

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

Preview Lab → · Contrast checker → · Palette generator →

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