#4E1A65#4E1A65

#4E1A65 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.130 H 313.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#4E1A65
RGBrgb(78, 26, 101)
HSLhsl(282, 59%, 25%)
HSVhsv(282, 74%, 40%)
CMYKcmyk(22.8%, 74.3%, 0%, 60.4%)
CIE-LABlab(21.20, 37.17, -33.42)
CIE-LCHlch(21.20, 49.99, 318.05°)
OKLaboklab(33.71% 0.0892 -0.0942)
OKLCHoklch(33.71% 0.13 313.4)
XYZxyz(5.8598, 3.2983, 12.6373)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A65 #31651A
analogous
#291A65 #4E1A65 #651A57
triadic
#4E1A65 #654E1A #1A654E
tetradic
#4E1A65 #65291A #31651A #1A5765
square
#4E1A65 #65291A #31651A #1A5765
split-complementary
#4E1A65 #57651A #1A6529
monochromatic
#130618 #280D34 #4E1A65 #742796 #9933C6

Accessibility & contrast

On white

12.65
#4E1A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A65
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A65#FFFFFF#000000##FFFFFF
##4E1A651.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#143463
Tritanopia (blue-blind)
#4C2A3D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1a65;
/* rgb */ color: rgb(78, 26, 101);
/* oklch */ color: oklch(33.7% 0.130 313.4);
Tailwind
colors: {
  custom: {
    50: '#835c91',
    500: '#4e1a65',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a65;
$custom-light: #835c91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a65",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 281.6,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33707,
    "c": 0.12974,
    "h": 313.4
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#4E1A65
secondary
#5C9B40
accent
#E24676
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1A65

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

Preview Lab → · Contrast checker → · Palette generator →

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