#4E247D#4E247D

#4E247D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.143 H 301.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4E247D
RGBrgb(78, 36, 125)
HSLhsl(268, 55%, 32%)
HSVhsv(268, 71%, 49%)
CMYKcmyk(37.6%, 71.2%, 0%, 51%)
CIE-LABlab(24.83, 38.20, -42.99)
CIE-LCHlch(24.83, 57.51, 311.62°)
OKLaboklab(36.89% 0.0742 -0.1224)
OKLCHoklch(36.89% 0.143 301.2)
XYZxyz(7.4735, 4.3621, 19.8463)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E247D #537D24
analogous
#24267D #4E247D #7B247D
triadic
#4E247D #7D4E24 #247D4E
tetradic
#4E247D #7D2426 #537D24 #247D7B
square
#4E247D #7D2426 #537D24 #247D7B
split-complementary
#4E247D #7D7B24 #267D24
monochromatic
#13091E #30164D #4E247D #6C32AD #8A4FCC

Accessibility & contrast

On white

11.22
#4E247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E247D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E247D#FFFFFF#000000##FFFFFF
##4E247D1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#44394D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e247d;
/* rgb */ color: rgb(78, 36, 125);
/* oklch */ color: oklch(36.9% 0.143 301.2);
Tailwind
colors: {
  custom: {
    50: '#8462a3',
    500: '#4e247d',
    950: '#000000',
  },
}
SCSS
$custom: #4e247d;
$custom-light: #8462a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e247d",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 268.315,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36886,
    "c": 0.14319,
    "h": 301.2
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#4E247D
secondary
#81AF4D
accent
#DF4998
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E247D

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

Preview Lab → · Contrast checker → · Palette generator →

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