#4E26AE#4E26AE

#4E26AE is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.198 H 287.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4E26AE
RGBrgb(78, 38, 174)
HSLhsl(258, 64%, 42%)
HSVhsv(258, 78%, 68%)
CMYKcmyk(55.2%, 78.2%, 0%, 31.8%)
CIE-LABlab(29.57, 50.70, -65.39)
CIE-LCHlch(29.57, 82.74, 307.79°)
OKLaboklab(41.57% 0.0606 -0.1882)
OKLCHoklch(41.57% 0.198 287.8)
XYZxyz(11.4727, 6.0613, 40.6016)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26AE #86AE26
analogous
#2642AE #4E26AE #9226AE
triadic
#4E26AE #AE4E26 #26AE4E
tetradic
#4E26AE #AE2642 #86AE26 #26AE92
square
#4E26AE #AE2642 #86AE26 #26AE92
split-complementary
#4E26AE #AE9226 #42AE26
monochromatic
#21104A #371B7C #4E26AE #693DD5 #906FE0

Accessibility & contrast

On white

9.49
#4E26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E26AE
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E26AE#FFFFFF#000000##FFFFFF
##4E26AE1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#254D69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e26ae;
/* rgb */ color: rgb(78, 38, 174);
/* oklch */ color: oklch(41.6% 0.198 287.8);
Tailwind
colors: {
  custom: {
    50: '#8a66c7',
    500: '#4e26ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e26ae;
$custom-light: #8a66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26ae",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 257.647,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.19768,
    "h": 287.8
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#4E26AE
secondary
#ABC66A
accent
#E741B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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