#4E0746#4E0746

#4E0746 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.7% C 0.123 H 333.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#4E0746
RGBrgb(78, 7, 70)
HSLhsl(307, 84%, 17%)
HSVhsv(307, 91%, 31%)
CMYKcmyk(0%, 91%, 10.3%, 69.4%)
CIE-LABlab(16.57, 38.08, -19.92)
CIE-LCHlch(16.57, 42.97, 332.39°)
OKLaboklab(29.73% 0.1105 -0.0547)
OKLCHoklch(29.73% 0.123 333.6)
XYZxyz(4.3234, 2.2142, 5.9929)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0746 #074E0F
analogous
#33074E #4E0746 #4E0723
triadic
#4E0746 #464E07 #07464E
tetradic
#4E0746 #4E3307 #074E0F #07234E
square
#4E0746 #4E3307 #074E0F #07234E
split-complementary
#4E0746 #234E07 #074E33
monochromatic
#1C0319 #1C0319 #4E0746 #860C78 #BE11AB

Accessibility & contrast

On white

14.56
#4E0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4E0746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0746
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0746#FFFFFF#000000##FFFFFF
##4E07461.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042348
Deuteranopia (green-blind)
#222C44
Tritanopia (blue-blind)
#521027
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e0746;
/* rgb */ color: rgb(78, 7, 70);
/* oklch */ color: oklch(29.7% 0.123 333.6);
Tailwind
colors: {
  custom: {
    50: '#835279',
    500: '#4e0746',
    950: '#000000',
  },
}
SCSS
$custom: #4e0746;
$custom-light: #835279;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0746",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 306.761,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29729,
    "c": 0.12327,
    "h": 333.6
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#4E0746
secondary
#258C30
accent
#FA452E
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0746

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

Preview Lab → · Contrast checker → · Palette generator →

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