#4E247A#4E247A

#4E247A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.140 H 302.3°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#4E247A
RGBrgb(78, 36, 122)
HSLhsl(269, 54%, 31%)
HSVhsv(269, 70%, 48%)
CMYKcmyk(36.1%, 70.5%, 0%, 52.2%)
CIE-LABlab(24.60, 37.40, -41.48)
CIE-LCHlch(24.60, 55.85, 312.04°)
OKLaboklab(36.64% 0.0747 -0.118)
OKLCHoklch(36.64% 0.14 302.3)
XYZxyz(7.2848, 4.2866, 18.8522)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E247A #507A24
analogous
#24257A #4E247A #79247A
triadic
#4E247A #7A4E24 #247A4E
tetradic
#4E247A #7A2425 #507A24 #247A79
square
#4E247A #7A2425 #507A24 #247A79
split-complementary
#4E247A #7A7924 #257A24
monochromatic
#12081B #30164B #4E247A #6C32A9 #8B4ECB

Accessibility & contrast

On white

11.31
#4E247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E247A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E247A#FFFFFF#000000##FFFFFF
##4E247A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#45384C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e247a;
/* rgb */ color: rgb(78, 36, 122);
/* oklch */ color: oklch(36.6% 0.140 302.3);
Tailwind
colors: {
  custom: {
    50: '#8462a1',
    500: '#4e247a',
    950: '#000000',
  },
}
SCSS
$custom: #4e247a;
$custom-light: #8462a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e247a",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 269.302,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36641,
    "c": 0.13963,
    "h": 302.3
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#4E247A
secondary
#7EAC4D
accent
#DE4A96
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E247A

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

Preview Lab → · Contrast checker → · Palette generator →

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