#4E248D#4E248D

#4E248D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.162 H 296.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4E248D
RGBrgb(78, 36, 141)
HSLhsl(264, 59%, 35%)
HSVhsv(264, 74%, 55%)
CMYKcmyk(44.7%, 74.5%, 0%, 44.7%)
CIE-LABlab(26.17, 42.52, -50.85)
CIE-LCHlch(26.17, 66.28, 309.91°)
OKLaboklab(38.25% 0.0711 -0.1455)
OKLCHoklch(38.25% 0.162 296)
XYZxyz(8.5792, 4.8043, 25.6695)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E248D #638D24
analogous
#242F8D #4E248D #83248D
triadic
#4E248D #8D4E24 #248D4E
tetradic
#4E248D #8D242F #638D24 #248D83
square
#4E248D #8D242F #638D24 #248D83
split-complementary
#4E248D #8D8324 #2F8D24
monochromatic
#180B2B #33185C #4E248D #6930BE #8957D4

Accessibility & contrast

On white

10.71
#4E248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4E248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E248D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E248D#FFFFFF#000000##FFFFFF
##4E248D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#3D3F56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e248d;
/* rgb */ color: rgb(78, 36, 141);
/* oklch */ color: oklch(38.3% 0.162 296.0);
Tailwind
colors: {
  custom: {
    50: '#8663af',
    500: '#4e248d',
    950: '#000000',
  },
}
SCSS
$custom: #4e248d;
$custom-light: #8663af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e248d",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 264,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38252,
    "c": 0.16197,
    "h": 296
  },
  "luminance": 0.04805
}

Semantic roles & 50–950 ramp

primary
#4E248D
secondary
#90B854
accent
#E345A4
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4E248D

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

Preview Lab → · Contrast checker → · Palette generator →

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