#4E26C9#4E26C9

#4E26C9 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.228 H 283.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4E26C9
RGBrgb(78, 38, 201)
HSLhsl(255, 68%, 47%)
HSVhsv(255, 81%, 79%)
CMYKcmyk(61.2%, 81.1%, 0%, 21.2%)
CIE-LABlab(32.31, 58.17, -76.84)
CIE-LCHlch(32.31, 96.38, 307.13°)
OKLaboklab(44.29% 0.0521 -0.2216)
OKLCHoklch(44.29% 0.228 283.2)
XYZxyz(14.3743, 7.2220, 55.8835)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26C9 #A1C926
analogous
#2650C9 #4E26C9 #A026C9
triadic
#4E26C9 #C94E26 #26C94E
tetradic
#4E26C9 #C92650 #A1C926 #26C9A0
square
#4E26C9 #C92650 #A1C926 #26C9A0
split-complementary
#4E26C9 #C9A026 #50C926
monochromatic
#261362 #3A1C96 #4E26C9 #724FDE #9B82E7

Accessibility & contrast

On white

8.59
#4E26C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E26C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E26C9
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E26C9#FFFFFF#000000##FFFFFF
##4E26C91.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0046C6
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e26c9;
/* rgb */ color: rgb(78, 38, 201);
/* oklch */ color: oklch(44.3% 0.228 283.2);
Tailwind
colors: {
  custom: {
    50: '#8f67db',
    500: '#4e26c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e26c9;
$custom-light: #8f67db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26c9",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 201
  },
  "hsl": {
    "h": 254.724,
    "s": 68.201,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44289,
    "c": 0.22763,
    "h": 283.2
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#4E26C9
secondary
#BBD07B
accent
#EB3DC0
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4E26C9

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

Preview Lab → · Contrast checker → · Palette generator →

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