#4E298D#4E298D

#4E298D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.156 H 295.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4E298D
RGBrgb(78, 41, 141)
HSLhsl(262, 55%, 36%)
HSVhsv(262, 71%, 55%)
CMYKcmyk(44.7%, 70.9%, 0%, 44.7%)
CIE-LABlab(27.10, 39.93, -49.33)
CIE-LCHlch(27.10, 63.47, 308.98°)
OKLaboklab(38.91% 0.0661 -0.1411)
OKLCHoklch(38.91% 0.156 295.1)
XYZxyz(8.7413, 5.1284, 25.7235)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E298D #688D29
analogous
#29368D #4E298D #80298D
triadic
#4E298D #8D4E29 #298D4E
tetradic
#4E298D #8D2936 #688D29 #298D80
square
#4E298D #8D2936 #688D29 #298D80
split-complementary
#4E298D #8D8029 #368D29
monochromatic
#1A0D2E #341B5E #4E298D #6837BC #8A60D1

Accessibility & contrast

On white

10.37
#4E298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E298D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E298D#FFFFFF#000000##FFFFFF
##4E298D1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#3D4258
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e298d;
/* rgb */ color: rgb(78, 41, 141);
/* oklch */ color: oklch(38.9% 0.156 295.1);
Tailwind
colors: {
  custom: {
    50: '#8566af',
    500: '#4e298d',
    950: '#000000',
  },
}
SCSS
$custom: #4e298d;
$custom-light: #8566af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e298d",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 262.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38911,
    "c": 0.15581,
    "h": 295.1
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#4E298D
secondary
#95B65B
accent
#DE4AA7
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4E298D

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

Preview Lab → · Contrast checker → · Palette generator →

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