#4E1065#4E1065

#4E1065 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.7% C 0.142 H 314.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#4E1065
RGBrgb(78, 16, 101)
HSLhsl(284, 73%, 23%)
HSVhsv(284, 84%, 40%)
CMYKcmyk(22.8%, 84.2%, 0%, 60.4%)
CIE-LABlab(19.76, 41.29, -35.74)
CIE-LCHlch(19.76, 54.61, 319.12°)
OKLaboklab(32.69% 0.0994 -0.101)
OKLCHoklch(32.69% 0.142 314.5)
XYZxyz(5.6757, 2.9301, 12.5760)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1065 #276510
analogous
#241065 #4E1065 #651051
triadic
#4E1065 #654E10 #10654E
tetradic
#4E1065 #652410 #276510 #105165
square
#4E1065 #652410 #276510 #105165
split-complementary
#4E1065 #516510 #106524
monochromatic
#14041A #250830 #4E1065 #77189A #A021CF

Accessibility & contrast

On white

13.24
#4E1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1065
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1065#FFFFFF#000000##FFFFFF
##4E10651.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#093163
Tritanopia (blue-blind)
#4C243B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1065;
/* rgb */ color: rgb(78, 16, 101);
/* oklch */ color: oklch(32.7% 0.142 314.5);
Tailwind
colors: {
  custom: {
    50: '#835791',
    500: '#4e1065',
    950: '#000000',
  },
}
SCSS
$custom: #4e1065;
$custom-light: #835791;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1065",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 283.765,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32688,
    "c": 0.14171,
    "h": 314.5
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#4E1065
secondary
#509D33
accent
#EF386A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4E1065

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

Preview Lab → · Contrast checker → · Palette generator →

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