#4E249B#4E249B

#4E249B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.178 H 292.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4E249B
RGBrgb(78, 36, 155)
HSLhsl(261, 62%, 37%)
HSVhsv(261, 77%, 61%)
CMYKcmyk(49.7%, 76.8%, 0%, 39.2%)
CIE-LABlab(27.43, 46.36, -57.41)
CIE-LCHlch(27.43, 73.79, 308.93°)
OKLaboklab(39.53% 0.0676 -0.1648)
OKLCHoklch(39.53% 0.178 292.3)
XYZxyz(9.6875, 5.2477, 31.5065)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E249B #719B24
analogous
#24369B #4E249B #89249B
triadic
#4E249B #9B4E24 #249B4E
tetradic
#4E249B #9B2436 #719B24 #249B89
square
#4E249B #9B2436 #719B24 #249B89
split-complementary
#4E249B #9B8924 #369B24
monochromatic
#1C0D38 #351869 #4E249B #6730CD #8B5FDA

Accessibility & contrast

On white

10.25
#4E249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4E249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E249B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E249B#FFFFFF#000000##FFFFFF
##4E249B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#35455E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e249b;
/* rgb */ color: rgb(78, 36, 155);
/* oklch */ color: oklch(39.5% 0.178 292.3);
Tailwind
colors: {
  custom: {
    50: '#8864ba',
    500: '#4e249b',
    950: '#000000',
  },
}
SCSS
$custom: #4e249b;
$custom-light: #8864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e249b",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 261.176,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39526,
    "c": 0.1781,
    "h": 292.3
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#4E249B
secondary
#9CBF5C
accent
#E542AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E249B

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

Preview Lab → · Contrast checker → · Palette generator →

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