#4E249F#4E249F

#4E249F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.183 H 291.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4E249F
RGBrgb(78, 36, 159)
HSLhsl(260, 63%, 38%)
HSVhsv(260, 77%, 62%)
CMYKcmyk(50.9%, 77.4%, 0%, 37.6%)
CIE-LABlab(27.80, 47.47, -59.23)
CIE-LCHlch(27.80, 75.91, 308.71°)
OKLaboklab(39.9% 0.0665 -0.1701)
OKLCHoklch(39.9% 0.183 291.3)
XYZxyz(10.0290, 5.3843, 33.3050)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E249F #759F24
analogous
#24379F #4E249F #8B249F
triadic
#4E249F #9F4E24 #249F4E
tetradic
#4E249F #9F2437 #759F24 #249F8B
square
#4E249F #9F2437 #759F24 #249F8B
split-complementary
#4E249F #9F8B24 #379F24
monochromatic
#1D0D3B #36196D #4E249F #6730D0 #8B62DB

Accessibility & contrast

On white

10.11
#4E249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E249F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E249F#FFFFFF#000000##FFFFFF
##4E249F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#324660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e249f;
/* rgb */ color: rgb(78, 36, 159);
/* oklch */ color: oklch(39.9% 0.183 291.3);
Tailwind
colors: {
  custom: {
    50: '#8864bc',
    500: '#4e249f',
    950: '#000000',
  },
}
SCSS
$custom: #4e249f;
$custom-light: #8864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e249f",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 260.488,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.18265,
    "h": 291.3
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#4E249F
secondary
#9FC15E
accent
#E642AE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E249F

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

Preview Lab → · Contrast checker → · Palette generator →

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