#4E1967#4E1967

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

Color values

HEX#4E1967
RGBrgb(78, 25, 103)
HSLhsl(281, 61%, 25%)
HSVhsv(281, 76%, 40%)
CMYKcmyk(24.3%, 75.7%, 0%, 59.6%)
CIE-LABlab(21.19, 38.10, -34.75)
CIE-LCHlch(21.19, 51.57, 317.63°)
OKLaboklab(33.74% 0.0901 -0.0982)
OKLCHoklch(33.74% 0.133 312.5)
XYZxyz(5.9373, 3.2944, 13.1525)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1967 #326719
analogous
#271967 #4E1967 #671959
triadic
#4E1967 #674E19 #19674E
tetradic
#4E1967 #672719 #326719 #195967
square
#4E1967 #672719 #326719 #195967
split-complementary
#4E1967 #596719 #196727
monochromatic
#130619 #290D36 #4E1967 #732598 #9931C9

Accessibility & contrast

On white

12.66
#4E1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1967
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1967#FFFFFF#000000##FFFFFF
##4E19671.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#4B2A3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1967;
/* rgb */ color: rgb(78, 25, 103);
/* oklch */ color: oklch(33.7% 0.133 312.5);
Tailwind
colors: {
  custom: {
    50: '#835b93',
    500: '#4e1967',
    950: '#000000',
  },
}
SCSS
$custom: #4e1967;
$custom-light: #835b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1967",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 280.769,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33744,
    "c": 0.13321,
    "h": 312.5
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#4E1967
secondary
#5D9D3F
accent
#E44477
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1967

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

Preview Lab → · Contrast checker → · Palette generator →

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