#4A0E4F#4A0E4F

#4A0E4F is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.121 H 324.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4A0E4F
RGBrgb(74, 14, 79)
HSLhsl(295, 70%, 18%)
HSVhsv(295, 82%, 31%)
CMYKcmyk(6.3%, 82.3%, 0%, 69%)
CIE-LABlab(17.15, 36.52, -25.24)
CIE-LCHlch(17.15, 44.39, 325.35°)
OKLaboklab(30.18% 0.099 -0.0703)
OKLCHoklch(30.18% 0.121 324.6)
XYZxyz(4.3922, 2.3347, 7.6149)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E4F #134F0E
analogous
#290E4F #4A0E4F #4F0E33
triadic
#4A0E4F #4F4A0E #0E4F4A
tetradic
#4A0E4F #4F290E #134F0E #0E334F
square
#4A0E4F #4F290E #134F0E #0E334F
split-complementary
#4A0E4F #334F0E #0E4F29
monochromatic
#18051A #19051B #4A0E4F #7B1783 #AB20B7

Accessibility & contrast

On white

14.32
#4A0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4A0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0E4F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E4F#FFFFFF#000000##FFFFFF
##4A0E4F1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#1B2D4D
Tritanopia (blue-blind)
#4C1A2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0e4f;
/* rgb */ color: rgb(74, 14, 79);
/* oklch */ color: oklch(30.2% 0.121 324.6);
Tailwind
colors: {
  custom: {
    50: '#7f5481',
    500: '#4a0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e4f;
$custom-light: #7f5481;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e4f",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 295.385,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30182,
    "c": 0.12145,
    "h": 324.6
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#4A0E4F
secondary
#368A2F
accent
#ED3B49
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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