#4A0E4D#4A0E4D

#4A0E4D is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.120 H 325.9°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4A0E4D
RGBrgb(74, 14, 77)
HSLhsl(297, 69%, 18%)
HSVhsv(297, 82%, 30%)
CMYKcmyk(3.9%, 81.8%, 0%, 69.8%)
CIE-LABlab(17.02, 36.13, -24.09)
CIE-LCHlch(17.02, 43.42, 326.31°)
OKLaboklab(30.04% 0.0991 -0.067)
OKLCHoklch(30.04% 0.12 325.9)
XYZxyz(4.3205, 2.3060, 7.2373)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E4D #114D0E
analogous
#2A0E4D #4A0E4D #4D0E30
triadic
#4A0E4D #4D4A0E #0E4D4A
tetradic
#4A0E4D #4D2A0E #114D0E #0E304D
square
#4A0E4D #4D2A0E #114D0E #0E304D
split-complementary
#4A0E4D #304D0E #0E4D2A
monochromatic
#19051A #19051A #4A0E4D #7C1781 #AE21B5

Accessibility & contrast

On white

14.37
#4A0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4A0E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0E4D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E4D#FFFFFF#000000##FFFFFF
##4A0E4D1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#1D2C4B
Tritanopia (blue-blind)
#4C192D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0e4d;
/* rgb */ color: rgb(74, 14, 77);
/* oklch */ color: oklch(30.0% 0.120 325.9);
Tailwind
colors: {
  custom: {
    50: '#7f547f',
    500: '#4a0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e4d;
$custom-light: #7f547f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e4d",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 297.143,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30041,
    "c": 0.11963,
    "h": 325.9
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#4A0E4D
secondary
#33882F
accent
#EC3C44
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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