#4A0E4B#4A0E4B

#4A0E4B is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.118 H 327.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#4A0E4B
RGBrgb(74, 14, 75)
HSLhsl(299, 69%, 17%)
HSVhsv(299, 81%, 29%)
CMYKcmyk(1.3%, 81.3%, 0%, 70.6%)
CIE-LABlab(16.88, 35.74, -22.93)
CIE-LCHlch(16.88, 42.46, 327.32°)
OKLaboklab(29.9% 0.0992 -0.0636)
OKLCHoklch(29.9% 0.118 327.3)
XYZxyz(4.2510, 2.2782, 6.8711)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E4B #0F4B0E
analogous
#2B0E4B #4A0E4B #4B0E2E
triadic
#4A0E4B #4B4A0E #0E4B4A
tetradic
#4A0E4B #4B2B0E #0F4B0E #0E2E4B
square
#4A0E4B #4B2B0E #0F4B0E #0E2E4B
split-complementary
#4A0E4B #2E4B0E #0E4B2B
monochromatic
#19051A #19051A #4A0E4B #7D187F #B021B2

Accessibility & contrast

On white

14.43
#4A0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0E4B
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E4B#FFFFFF#000000##FFFFFF
##4A0E4B1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254D
Deuteranopia (green-blind)
#1E2C4A
Tritanopia (blue-blind)
#4C182C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0e4b;
/* rgb */ color: rgb(74, 14, 75);
/* oklch */ color: oklch(29.9% 0.118 327.3);
Tailwind
colors: {
  custom: {
    50: '#7f547d',
    500: '#4a0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e4b;
$custom-light: #7f547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e4b",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 299.016,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29903,
    "c": 0.11782,
    "h": 327.3
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#4A0E4B
secondary
#30862F
accent
#EB3C3F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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