#4E29B4#4E29B4

#4E29B4 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.202 H 286.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4E29B4
RGBrgb(78, 41, 180)
HSLhsl(256, 63%, 43%)
HSVhsv(256, 77%, 71%)
CMYKcmyk(56.7%, 77.2%, 0%, 29.4%)
CIE-LABlab(30.64, 50.98, -67.21)
CIE-LCHlch(30.64, 84.35, 307.18°)
OKLaboklab(42.5% 0.0567 -0.1935)
OKLCHoklch(42.5% 0.202 286.3)
XYZxyz(12.1706, 6.5002, 43.7845)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29B4 #8FB429
analogous
#2949B4 #4E29B4 #9329B4
triadic
#4E29B4 #B44E29 #29B44E
tetradic
#4E29B4 #B42949 #8FB429 #29B493
square
#4E29B4 #B42949 #8FB429 #29B493
split-complementary
#4E29B4 #B49329 #49B429
monochromatic
#231250 #381E82 #4E29B4 #6C45D5 #9377E0

Accessibility & contrast

On white

9.13
#4E29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E29B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29B4
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29B4#FFFFFF#000000##FFFFFF
##4E29B41.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#1D516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e29b4;
/* rgb */ color: rgb(78, 41, 180);
/* oklch */ color: oklch(42.5% 0.202 286.3);
Tailwind
colors: {
  custom: {
    50: '#8b68cc',
    500: '#4e29b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e29b4;
$custom-light: #8b68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29b4",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 255.971,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.20165,
    "h": 286.3
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#4E29B4
secondary
#B1C871
accent
#E642BA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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