#4E29BB#4E29BB

#4E29BB is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.2% C 0.210 H 285.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4E29BB
RGBrgb(78, 41, 187)
HSLhsl(255, 64%, 45%)
HSVhsv(255, 78%, 73%)
CMYKcmyk(58.3%, 78.1%, 0%, 26.7%)
CIE-LABlab(31.33, 52.96, -70.22)
CIE-LCHlch(31.33, 87.95, 307.02°)
OKLaboklab(43.19% 0.0547 -0.2023)
OKLCHoklch(43.19% 0.21 285.1)
XYZxyz(12.9017, 6.7926, 47.6353)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29BB #96BB29
analogous
#294DBB #4E29BB #9729BB
triadic
#4E29BB #BB4E29 #29BB4E
tetradic
#4E29BB #BB294D #96BB29 #29BB97
square
#4E29BB #BB294D #96BB29 #29BB97
split-complementary
#4E29BB #BB9729 #4DBB29
monochromatic
#241357 #391E89 #4E29BB #6E4AD7 #967CE2

Accessibility & contrast

On white

8.90
#4E29BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E29BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29BB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29BB#FFFFFF#000000##FFFFFF
##4E29BB1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0045B8
Tritanopia (blue-blind)
#105472
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e29bb;
/* rgb */ color: rgb(78, 41, 187);
/* oklch */ color: oklch(43.2% 0.210 285.1);
Tailwind
colors: {
  custom: {
    50: '#8c68d1',
    500: '#4e29bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e29bb;
$custom-light: #8c68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29bb",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 255.205,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.20959,
    "h": 285.1
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E29BB

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

Preview Lab → · Contrast checker → · Palette generator →

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