#4E249D#4E249D

#4E249D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.180 H 291.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4E249D
RGBrgb(78, 36, 157)
HSLhsl(261, 63%, 38%)
HSVhsv(261, 77%, 62%)
CMYKcmyk(50.3%, 77.1%, 0%, 38.4%)
CIE-LABlab(27.62, 46.91, -58.32)
CIE-LCHlch(27.62, 74.85, 308.81°)
OKLaboklab(39.71% 0.067 -0.1675)
OKLCHoklch(39.71% 0.18 291.8)
XYZxyz(9.8568, 5.3154, 32.3984)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E249D #739D24
analogous
#24379D #4E249D #8A249D
triadic
#4E249D #9D4E24 #249D4E
tetradic
#4E249D #9D2437 #739D24 #249D8A
square
#4E249D #9D2437 #739D24 #249D8A
split-complementary
#4E249D #9D8A24 #379D24
monochromatic
#1D0D39 #35196B #4E249D #672FCF #8B61DB

Accessibility & contrast

On white

10.18
#4E249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E249D
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E249D#FFFFFF#000000##FFFFFF
##4E249D1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#34455F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e249d;
/* rgb */ color: rgb(78, 36, 157);
/* oklch */ color: oklch(39.7% 0.180 291.8);
Tailwind
colors: {
  custom: {
    50: '#8864bb',
    500: '#4e249d',
    950: '#000000',
  },
}
SCSS
$custom: #4e249d;
$custom-light: #8864bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e249d",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 260.826,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39714,
    "c": 0.18037,
    "h": 291.8
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#4E249D
secondary
#9EC05D
accent
#E642AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E249D

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

Preview Lab → · Contrast checker → · Palette generator →

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