#4E26B0#4E26B0

#4E26B0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.200 H 287.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4E26B0
RGBrgb(78, 38, 176)
HSLhsl(257, 64%, 42%)
HSVhsv(257, 78%, 69%)
CMYKcmyk(55.7%, 78.4%, 0%, 31%)
CIE-LABlab(29.76, 51.25, -66.27)
CIE-LCHlch(29.76, 83.77, 307.72°)
OKLaboklab(41.77% 0.06 -0.1907)
OKLCHoklch(41.77% 0.2 287.5)
XYZxyz(11.6691, 6.1399, 41.6361)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26B0 #88B026
analogous
#2643B0 #4E26B0 #9326B0
triadic
#4E26B0 #B04E26 #26B04E
tetradic
#4E26B0 #B02643 #88B026 #26B093
square
#4E26B0 #B02643 #88B026 #26B093
split-complementary
#4E26B0 #B09326 #43B026
monochromatic
#21104B #381B7E #4E26B0 #6A3ED5 #9170E0

Accessibility & contrast

On white

9.42
#4E26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E26B0
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E26B0#FFFFFF#000000##FFFFFF
##4E26B01.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#234E6B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e26b0;
/* rgb */ color: rgb(78, 38, 176);
/* oklch */ color: oklch(41.8% 0.200 287.5);
Tailwind
colors: {
  custom: {
    50: '#8b66c9',
    500: '#4e26b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e26b0;
$custom-light: #8b66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26b0",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 257.391,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.19993,
    "h": 287.5
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#4E26B0
secondary
#ACC76B
accent
#E740B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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