#4E26BA#4E26BA

#4E26BA is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.211 H 285.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4E26BA
RGBrgb(78, 38, 186)
HSLhsl(256, 66%, 44%)
HSVhsv(256, 80%, 73%)
CMYKcmyk(58.1%, 79.6%, 0%, 27.1%)
CIE-LABlab(30.76, 54.03, -70.57)
CIE-LCHlch(30.76, 88.88, 307.44°)
OKLaboklab(42.76% 0.0569 -0.2033)
OKLCHoklch(42.76% 0.211 285.6)
XYZxyz(12.6952, 6.5503, 47.0402)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26BA #92BA26
analogous
#2648BA #4E26BA #9826BA
triadic
#4E26BA #BA4E26 #26BA4E
tetradic
#4E26BA #BA2648 #92BA26 #26BA98
square
#4E26BA #BA2648 #92BA26 #26BA98
split-complementary
#4E26BA #BA9826 #48BA26
monochromatic
#231154 #391C87 #4E26BA #6C44D9 #9477E3

Accessibility & contrast

On white

9.09
#4E26BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E26BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E26BA
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E26BA#FFFFFF#000000##FFFFFF
##4E26BA1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#135270
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e26ba;
/* rgb */ color: rgb(78, 38, 186);
/* oklch */ color: oklch(42.8% 0.211 285.6);
Tailwind
colors: {
  custom: {
    50: '#8c66d0',
    500: '#4e26ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e26ba;
$custom-light: #8c66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26ba",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 256.216,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.21111,
    "h": 285.6
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#4E26BA
secondary
#B3CB71
accent
#E93FBB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4E26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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