#4E247C#4E247C

#4E247C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.142 H 301.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#4E247C
RGBrgb(78, 36, 124)
HSLhsl(269, 55%, 31%)
HSVhsv(269, 71%, 49%)
CMYKcmyk(37.1%, 71%, 0%, 51.4%)
CIE-LABlab(24.75, 37.93, -42.49)
CIE-LCHlch(24.75, 56.96, 311.76°)
OKLaboklab(36.8% 0.0744 -0.121)
OKLCHoklch(36.8% 0.142 301.6)
XYZxyz(7.4100, 4.3367, 19.5115)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E247C #527C24
analogous
#24267C #4E247C #7A247C
triadic
#4E247C #7C4E24 #247C4E
tetradic
#4E247C #7C2426 #527C24 #247C7A
square
#4E247C #7C2426 #527C24 #247C7A
split-complementary
#4E247C #7C7A24 #267C24
monochromatic
#12081D #30164D #4E247C #6C32AB #8A4FCC

Accessibility & contrast

On white

11.25
#4E247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E247C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E247C#FFFFFF#000000##FFFFFF
##4E247C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#44384D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e247c;
/* rgb */ color: rgb(78, 36, 124);
/* oklch */ color: oklch(36.8% 0.142 301.6);
Tailwind
colors: {
  custom: {
    50: '#8462a3',
    500: '#4e247c',
    950: '#000000',
  },
}
SCSS
$custom: #4e247c;
$custom-light: #8462a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e247c",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 268.636,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36804,
    "c": 0.142,
    "h": 301.6
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#4E247C
secondary
#80AE4D
accent
#DE4997
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E247C

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

Preview Lab → · Contrast checker → · Palette generator →

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