#4E26AB#4E26AB

#4E26AB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.194 H 288.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4E26AB
RGBrgb(78, 38, 171)
HSLhsl(258, 64%, 41%)
HSVhsv(258, 78%, 67%)
CMYKcmyk(54.4%, 77.8%, 0%, 32.9%)
CIE-LABlab(29.27, 49.86, -64.07)
CIE-LCHlch(29.27, 81.19, 307.89°)
OKLaboklab(41.28% 0.0615 -0.1843)
OKLCHoklch(41.28% 0.194 288.4)
XYZxyz(11.1835, 5.9456, 39.0785)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26AB #83AB26
analogous
#2640AB #4E26AB #9026AB
triadic
#4E26AB #AB4E26 #26AB4E
tetradic
#4E26AB #AB2640 #83AB26 #26AB90
square
#4E26AB #AB2640 #83AB26 #26AB90
split-complementary
#4E26AB #AB9026 #40AB26
monochromatic
#201047 #371B79 #4E26AB #693BD3 #8F6DDF

Accessibility & contrast

On white

9.59
#4E26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E26AB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E26AB#FFFFFF#000000##FFFFFF
##4E26AB1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#284C68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e26ab;
/* rgb */ color: rgb(78, 38, 171);
/* oklch */ color: oklch(41.3% 0.194 288.4);
Tailwind
colors: {
  custom: {
    50: '#8a65c5',
    500: '#4e26ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e26ab;
$custom-light: #8a65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26ab",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 258.045,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.19429,
    "h": 288.4
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#4E26AB
secondary
#A9C568
accent
#E741B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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