#4E29BC#4E29BC

#4E29BC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.211 H 285.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4E29BC
RGBrgb(78, 41, 188)
HSLhsl(255, 64%, 45%)
HSVhsv(255, 78%, 74%)
CMYKcmyk(58.5%, 78.2%, 0%, 26.3%)
CIE-LABlab(31.43, 53.24, -70.65)
CIE-LCHlch(31.43, 88.46, 307.00°)
OKLaboklab(43.29% 0.0544 -0.2036)
OKLCHoklch(43.29% 0.211 285)
XYZxyz(13.0092, 6.8356, 48.2011)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29BC #97BC29
analogous
#294EBC #4E29BC #9729BC
triadic
#4E29BC #BC4E29 #29BC4E
tetradic
#4E29BC #BC294E #97BC29 #29BC97
square
#4E29BC #BC294E #97BC29 #29BC97
split-complementary
#4E29BC #BC9729 #4EBC29
monochromatic
#241358 #391E8A #4E29BC #6E4BD8 #967DE3

Accessibility & contrast

On white

8.87
#4E29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E29BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29BC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29BC#FFFFFF#000000##FFFFFF
##4E29BC1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#0D5472
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e29bc;
/* rgb */ color: rgb(78, 41, 188);
/* oklch */ color: oklch(43.3% 0.211 285.0);
Tailwind
colors: {
  custom: {
    50: '#8d68d1',
    500: '#4e29bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e29bc;
$custom-light: #8d68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29bc",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 255.102,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43285,
    "c": 0.21072,
    "h": 285
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#4E29BC
secondary
#B6CB76
accent
#E741BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4E29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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