#4E1266#4E1266

#4E1266 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.141 H 313.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#4E1266
RGBrgb(78, 18, 102)
HSLhsl(283, 70%, 24%)
HSVhsv(283, 82%, 40%)
CMYKcmyk(23.5%, 82.4%, 0%, 60%)
CIE-LABlab(20.09, 40.78, -35.87)
CIE-LCHlch(20.09, 54.31, 318.67°)
OKLaboklab(32.95% 0.0974 -0.1014)
OKLCHoklch(32.95% 0.141 313.9)
XYZxyz(5.7560, 3.0118, 12.8459)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1266 #2A6612
analogous
#241266 #4E1266 #661254
triadic
#4E1266 #664E12 #12664E
tetradic
#4E1266 #662412 #2A6612 #125466
square
#4E1266 #662412 #2A6612 #125466
split-complementary
#4E1266 #546612 #126624
monochromatic
#14051A #260932 #4E1266 #761B9A #9E24CE

Accessibility & contrast

On white

13.11
#4E1266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1266
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1266#FFFFFF#000000##FFFFFF
##4E12661.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#0A3264
Tritanopia (blue-blind)
#4C263C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1266;
/* rgb */ color: rgb(78, 18, 102);
/* oklch */ color: oklch(32.9% 0.141 313.9);
Tailwind
colors: {
  custom: {
    50: '#835892',
    500: '#4e1266',
    950: '#000000',
  },
}
SCSS
$custom: #4e1266;
$custom-light: #835892;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1266",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 282.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32945,
    "c": 0.14059,
    "h": 313.9
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#4E1266
secondary
#549E36
accent
#ED3B6E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1266

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

Preview Lab → · Contrast checker → · Palette generator →

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