#4E1374#4E1374

#4E1374 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.153 H 307.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#4E1374
RGBrgb(78, 19, 116)
HSLhsl(276, 72%, 26%)
HSVhsv(276, 84%, 45%)
CMYKcmyk(32.8%, 83.6%, 0%, 54.5%)
CIE-LABlab(21.38, 43.62, -42.87)
CIE-LCHlch(21.38, 61.16, 315.50°)
OKLaboklab(34.21% 0.0931 -0.1219)
OKLCHoklch(34.21% 0.153 307.4)
XYZxyz(6.5265, 3.3465, 16.8217)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1374 #397413
analogous
#1E1374 #4E1374 #74136A
triadic
#4E1374 #744E13 #13744E
tetradic
#4E1374 #741E13 #397413 #136A74
square
#4E1374 #741E13 #397413 #136A74
split-complementary
#4E1374 #6A7413 #13741E
monochromatic
#12041A #2B0A3F #4E1374 #711CA9 #9426DB

Accessibility & contrast

On white

12.58
#4E1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1374
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1374#FFFFFF#000000##FFFFFF
##4E13741.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#482D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1374;
/* rgb */ color: rgb(78, 19, 116);
/* oklch */ color: oklch(34.2% 0.153 307.4);
Tailwind
colors: {
  custom: {
    50: '#84599d',
    500: '#4e1374',
    950: '#000000',
  },
}
SCSS
$custom: #4e1374;
$custom-light: #84599d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1374",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 276.495,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34213,
    "c": 0.15344,
    "h": 307.4
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#4E1374
secondary
#65AA38
accent
#EF3980
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1374

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

Preview Lab → · Contrast checker → · Palette generator →

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