#4E1370#4E1370

#4E1370 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.149 H 309.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4E1370
RGBrgb(78, 19, 112)
HSLhsl(278, 71%, 26%)
HSVhsv(278, 83%, 44%)
CMYKcmyk(30.4%, 83%, 0%, 56.1%)
CIE-LABlab(21.04, 42.69, -40.84)
CIE-LCHlch(21.04, 59.08, 316.26°)
OKLaboklab(33.87% 0.0942 -0.116)
OKLCHoklch(33.87% 0.149 309.1)
XYZxyz(6.2988, 3.2554, 15.6226)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1370 #357013
analogous
#201370 #4E1370 #701363
triadic
#4E1370 #704E13 #13704E
tetradic
#4E1370 #702013 #357013 #136370
square
#4E1370 #702013 #357013 #136370
split-complementary
#4E1370 #637013 #137020
monochromatic
#12041A #2A0A3C #4E1370 #721CA4 #9725D9

Accessibility & contrast

On white

12.72
#4E1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1370
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1370#FFFFFF#000000##FFFFFF
##4E13701.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#492B42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1370;
/* rgb */ color: rgb(78, 19, 112);
/* oklch */ color: oklch(33.9% 0.149 309.1);
Tailwind
colors: {
  custom: {
    50: '#84599a',
    500: '#4e1370',
    950: '#000000',
  },
}
SCSS
$custom: #4e1370;
$custom-light: #84599a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1370",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 278.065,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33867,
    "c": 0.14945,
    "h": 309.1
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#4E1370
secondary
#61A738
accent
#EE3A7C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1370

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

Preview Lab → · Contrast checker → · Palette generator →

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