#4E249C#4E249C

#4E249C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.179 H 292.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4E249C
RGBrgb(78, 36, 156)
HSLhsl(261, 63%, 38%)
HSVhsv(261, 77%, 61%)
CMYKcmyk(50%, 76.9%, 0%, 38.8%)
CIE-LABlab(27.52, 46.64, -57.87)
CIE-LCHlch(27.52, 74.32, 308.87°)
OKLaboklab(39.62% 0.0673 -0.1661)
OKLCHoklch(39.62% 0.179 292.1)
XYZxyz(9.7718, 5.2814, 31.9506)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E249C #729C24
analogous
#24369C #4E249C #8A249C
triadic
#4E249C #9C4E24 #249C4E
tetradic
#4E249C #9C2436 #729C24 #249C8A
square
#4E249C #9C2436 #729C24 #249C8A
split-complementary
#4E249C #9C8A24 #369C24
monochromatic
#1C0D39 #35196A #4E249C #672FCE #8B60DA

Accessibility & contrast

On white

10.21
#4E249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E249C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E249C#FFFFFF#000000##FFFFFF
##4E249C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#34455F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e249c;
/* rgb */ color: rgb(78, 36, 156);
/* oklch */ color: oklch(39.6% 0.179 292.1);
Tailwind
colors: {
  custom: {
    50: '#8864ba',
    500: '#4e249c',
    950: '#000000',
  },
}
SCSS
$custom: #4e249c;
$custom-light: #8864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e249c",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 261,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3962,
    "c": 0.17923,
    "h": 292.1
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#4E249C
secondary
#9DBF5C
accent
#E642AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E249C

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

Preview Lab → · Contrast checker → · Palette generator →

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