#4E247E#4E247E

#4E247E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.144 H 300.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#4E247E
RGBrgb(78, 36, 126)
HSLhsl(268, 56%, 32%)
HSVhsv(268, 71%, 49%)
CMYKcmyk(38.1%, 71.4%, 0%, 50.6%)
CIE-LABlab(24.91, 38.46, -43.50)
CIE-LCHlch(24.91, 58.06, 311.49°)
OKLaboklab(36.97% 0.0741 -0.1239)
OKLCHoklch(36.97% 0.144 300.9)
XYZxyz(7.5377, 4.3878, 20.1844)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E247E #547E24
analogous
#24277E #4E247E #7B247E
triadic
#4E247E #7E4E24 #247E4E
tetradic
#4E247E #7E2427 #547E24 #247E7B
square
#4E247E #7E2427 #547E24 #247E7B
split-complementary
#4E247E #7E7B24 #277E24
monochromatic
#13091F #31164E #4E247E #6B32AE #8A50CD

Accessibility & contrast

On white

11.18
#4E247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E247E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E247E#FFFFFF#000000##FFFFFF
##4E247E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#44394E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e247e;
/* rgb */ color: rgb(78, 36, 126);
/* oklch */ color: oklch(37.0% 0.144 300.9);
Tailwind
colors: {
  custom: {
    50: '#8462a4',
    500: '#4e247e',
    950: '#000000',
  },
}
SCSS
$custom: #4e247e;
$custom-light: #8462a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e247e",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 268,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36968,
    "c": 0.14437,
    "h": 300.9
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#4E247E
secondary
#82B04E
accent
#DF4999
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E247E

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

Preview Lab → · Contrast checker → · Palette generator →

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