#4E26B1#4E26B1

#4E26B1 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.9% C 0.201 H 287.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4E26B1
RGBrgb(78, 38, 177)
HSLhsl(257, 65%, 42%)
HSVhsv(257, 79%, 69%)
CMYKcmyk(55.9%, 78.5%, 0%, 30.6%)
CIE-LABlab(29.86, 51.53, -66.70)
CIE-LCHlch(29.86, 84.29, 307.69°)
OKLaboklab(41.87% 0.0597 -0.192)
OKLCHoklch(41.87% 0.201 287.3)
XYZxyz(11.7684, 6.1796, 42.1591)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26B1 #89B126
analogous
#2644B1 #4E26B1 #9326B1
triadic
#4E26B1 #B14E26 #26B14E
tetradic
#4E26B1 #B12644 #89B126 #26B193
square
#4E26B1 #B12644 #89B126 #26B193
split-complementary
#4E26B1 #B19326 #44B126
monochromatic
#22104C #381B7F #4E26B1 #6A3FD6 #9171E0

Accessibility & contrast

On white

9.39
#4E26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E26B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E26B1
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E26B1#FFFFFF#000000##FFFFFF
##4E26B11.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#214E6B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e26b1;
/* rgb */ color: rgb(78, 38, 177);
/* oklch */ color: oklch(41.9% 0.201 287.3);
Tailwind
colors: {
  custom: {
    50: '#8b66ca',
    500: '#4e26b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e26b1;
$custom-light: #8b66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26b1",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 257.266,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41865,
    "c": 0.20106,
    "h": 287.3
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#4E26B1
secondary
#ADC76B
accent
#E840B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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