#4E249E#4E249E

#4E249E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.182 H 291.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4E249E
RGBrgb(78, 36, 158)
HSLhsl(261, 63%, 38%)
HSVhsv(261, 77%, 62%)
CMYKcmyk(50.6%, 77.2%, 0%, 38%)
CIE-LABlab(27.71, 47.19, -58.78)
CIE-LCHlch(27.71, 75.38, 308.76°)
OKLaboklab(39.81% 0.0667 -0.1688)
OKLCHoklch(39.81% 0.182 291.6)
XYZxyz(9.9426, 5.3497, 32.8498)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E249E #749E24
analogous
#24379E #4E249E #8B249E
triadic
#4E249E #9E4E24 #249E4E
tetradic
#4E249E #9E2437 #749E24 #249E8B
square
#4E249E #9E2437 #749E24 #249E8B
split-complementary
#4E249E #9E8B24 #379E24
monochromatic
#1D0D3A #35196C #4E249E #672FD0 #8B61DB

Accessibility & contrast

On white

10.14
#4E249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E249E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E249E#FFFFFF#000000##FFFFFF
##4E249E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#334660
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e249e;
/* rgb */ color: rgb(78, 36, 158);
/* oklch */ color: oklch(39.8% 0.182 291.6);
Tailwind
colors: {
  custom: {
    50: '#8864bc',
    500: '#4e249e',
    950: '#000000',
  },
}
SCSS
$custom: #4e249e;
$custom-light: #8864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e249e",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 260.656,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.18151,
    "h": 291.6
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E249E

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

Preview Lab → · Contrast checker → · Palette generator →

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