#4E29A8#4E29A8

#4E29A8 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.188 H 288.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4E29A8
RGBrgb(78, 41, 168)
HSLhsl(257, 61%, 41%)
HSVhsv(257, 76%, 66%)
CMYKcmyk(53.6%, 75.6%, 0%, 34.1%)
CIE-LABlab(29.49, 47.57, -61.91)
CIE-LCHlch(29.49, 78.08, 307.54°)
OKLaboklab(41.35% 0.06 -0.178)
OKLCHoklch(41.35% 0.188 288.6)
XYZxyz(11.0006, 6.0322, 37.6229)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29A8 #83A829
analogous
#2943A8 #4E29A8 #8D29A8
triadic
#4E29A8 #A84E29 #29A84E
tetradic
#4E29A8 #A82943 #83A829 #29A88D
square
#4E29A8 #A82943 #83A829 #29A88D
split-complementary
#4E29A8 #A88D29 #43A829
monochromatic
#201146 #371D77 #4E29A8 #693ED0 #8F6FDC

Accessibility & contrast

On white

9.52
#4E29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29A8
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29A8#FFFFFF#000000##FFFFFF
##4E29A81.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#2B4C67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e29a8;
/* rgb */ color: rgb(78, 41, 168);
/* oklch */ color: oklch(41.3% 0.188 288.6);
Tailwind
colors: {
  custom: {
    50: '#8967c3',
    500: '#4e29a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e29a8;
$custom-light: #8967c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29a8",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 257.48,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.18785,
    "h": 288.6
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#4E29A8
secondary
#A9C36A
accent
#E444B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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