#4E26A0#4E26A0

#4E26A0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.182 H 290.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4E26A0
RGBrgb(78, 38, 160)
HSLhsl(260, 62%, 39%)
HSVhsv(260, 76%, 63%)
CMYKcmyk(51.2%, 76.3%, 0%, 37.3%)
CIE-LABlab(28.23, 46.79, -59.14)
CIE-LCHlch(28.23, 75.41, 308.35°)
OKLaboklab(40.23% 0.0646 -0.1699)
OKLCHoklch(40.23% 0.182 290.8)
XYZxyz(10.1783, 5.5436, 33.7846)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26A0 #78A026
analogous
#263BA0 #4E26A0 #8B26A0
triadic
#4E26A0 #A04E26 #26A04E
tetradic
#4E26A0 #A0263B #78A026 #26A08B
square
#4E26A0 #A0263B #78A026 #26A08B
split-complementary
#4E26A0 #A08B26 #3BA026
monochromatic
#1E0F3D #361A6F #4E26A0 #6734CF #8C66DB

Accessibility & contrast

On white

9.96
#4E26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E26A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E26A0
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E26A0#FFFFFF#000000##FFFFFF
##4E26A01.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#324861
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e26a0;
/* rgb */ color: rgb(78, 38, 160);
/* oklch */ color: oklch(40.2% 0.182 290.8);
Tailwind
colors: {
  custom: {
    50: '#8865bd',
    500: '#4e26a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e26a0;
$custom-light: #8865bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26a0",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 259.672,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40231,
    "c": 0.18172,
    "h": 290.8
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#4E26A0
secondary
#A1C061
accent
#E543B0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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