#4E29BA#4E29BA

#4E29BA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.1% C 0.208 H 285.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4E29BA
RGBrgb(78, 41, 186)
HSLhsl(255, 64%, 45%)
HSVhsv(255, 78%, 73%)
CMYKcmyk(58.1%, 78%, 0%, 27.1%)
CIE-LABlab(31.23, 52.67, -69.80)
CIE-LCHlch(31.23, 87.44, 307.04°)
OKLaboklab(43.09% 0.055 -0.2011)
OKLCHoklch(43.09% 0.208 285.3)
XYZxyz(12.7951, 6.7500, 47.0735)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29BA #95BA29
analogous
#294DBA #4E29BA #9729BA
triadic
#4E29BA #BA4E29 #29BA4E
tetradic
#4E29BA #BA294D #95BA29 #29BA97
square
#4E29BA #BA294D #95BA29 #29BA97
split-complementary
#4E29BA #BA9729 #4DBA29
monochromatic
#241356 #391E88 #4E29BA #6D49D7 #967BE2

Accessibility & contrast

On white

8.94
#4E29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29BA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29BA#FFFFFF#000000##FFFFFF
##4E29BA1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#125371
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e29ba;
/* rgb */ color: rgb(78, 41, 186);
/* oklch */ color: oklch(43.1% 0.208 285.3);
Tailwind
colors: {
  custom: {
    50: '#8c68d0',
    500: '#4e29ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e29ba;
$custom-light: #8c68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29ba",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 255.31,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43087,
    "c": 0.20846,
    "h": 285.3
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#4E29BA
secondary
#B4CA75
accent
#E741BD
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4E29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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