#4E26A9#4E26A9

#4E26A9 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.192 H 288.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4E26A9
RGBrgb(78, 38, 169)
HSLhsl(258, 63%, 41%)
HSVhsv(258, 78%, 66%)
CMYKcmyk(53.8%, 77.5%, 0%, 33.7%)
CIE-LABlab(29.08, 49.30, -63.19)
CIE-LCHlch(29.08, 80.14, 307.96°)
OKLaboklab(41.09% 0.0621 -0.1817)
OKLCHoklch(41.09% 0.192 288.9)
XYZxyz(10.9943, 5.8700, 38.0821)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26A9 #81A926
analogous
#263FA9 #4E26A9 #9026A9
triadic
#4E26A9 #A94E26 #26A94E
tetradic
#4E26A9 #A9263F #81A926 #26A990
square
#4E26A9 #A9263F #81A926 #26A990
split-complementary
#4E26A9 #A99026 #3FA926
monochromatic
#201045 #371B77 #4E26A9 #683AD3 #8E6CDE

Accessibility & contrast

On white

9.66
#4E26A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4E26A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E26A9
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E26A9#FFFFFF#000000##FFFFFF
##4E26A91.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#2A4B67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e26a9;
/* rgb */ color: rgb(78, 38, 169);
/* oklch */ color: oklch(41.1% 0.192 288.9);
Tailwind
colors: {
  custom: {
    50: '#8a65c4',
    500: '#4e26a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e26a9;
$custom-light: #8a65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26a9",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 258.321,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.19201,
    "h": 288.9
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#4E26A9
secondary
#A8C467
accent
#E641B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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