#4E1068#4E1068

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

Color values

HEX#4E1068
RGBrgb(78, 16, 104)
HSLhsl(282, 73%, 24%)
HSVhsv(282, 85%, 41%)
CMYKcmyk(25%, 84.6%, 0%, 59.2%)
CIE-LABlab(20.00, 41.95, -37.32)
CIE-LCHlch(20.00, 56.15, 318.34°)
OKLaboklab(32.93% 0.0987 -0.1056)
OKLCHoklch(32.93% 0.145 313.1)
XYZxyz(5.8254, 2.9899, 13.3643)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1068 #2A6810
analogous
#221068 #4E1068 #681056
triadic
#4E1068 #684E10 #10684E
tetradic
#4E1068 #682210 #2A6810 #105668
square
#4E1068 #682210 #2A6810 #105668
split-complementary
#4E1068 #566810 #106822
monochromatic
#14041B #260833 #4E1068 #76189D #9E20D2

Accessibility & contrast

On white

13.14
#4E1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1068
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1068#FFFFFF#000000##FFFFFF
##4E10681.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#033266
Tritanopia (blue-blind)
#4B263D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1068;
/* rgb */ color: rgb(78, 16, 104);
/* oklch */ color: oklch(32.9% 0.145 313.1);
Tailwind
colors: {
  custom: {
    50: '#835794',
    500: '#4e1068',
    950: '#000000',
  },
}
SCSS
$custom: #4e1068;
$custom-light: #835794;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1068",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 282.273,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.14459,
    "h": 313.1
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#4E1068
secondary
#54A034
accent
#F0386E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1068

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

Preview Lab → · Contrast checker → · Palette generator →

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