#4A0F4D#4A0F4D

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

Color values

HEX#4A0F4D
RGBrgb(74, 15, 77)
HSLhsl(297, 67%, 18%)
HSVhsv(297, 81%, 30%)
CMYKcmyk(3.9%, 80.5%, 0%, 69.8%)
CIE-LABlab(17.15, 35.75, -23.88)
CIE-LCHlch(17.15, 42.99, 326.26°)
OKLaboklab(30.13% 0.0981 -0.0664)
OKLCHoklch(30.13% 0.118 325.9)
XYZxyz(4.3343, 2.3336, 7.2419)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F4D #124D0F
analogous
#2B0F4D #4A0F4D #4D0F31
triadic
#4A0F4D #4D4A0F #0F4D4A
tetradic
#4A0F4D #4D2B0F #124D0F #0F314D
square
#4A0F4D #4D2B0F #124D0F #0F314D
split-complementary
#4A0F4D #314D0F #0F4D2B
monochromatic
#19051A #19051A #4A0F4D #7B1980 #AC23B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A0F4D#FFFFFF#000000##FFFFFF
##4A0F4D1.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)
#01264F
Deuteranopia (green-blind)
#1D2D4B
Tritanopia (blue-blind)
#4C1A2D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0f4d;
/* rgb */ color: rgb(74, 15, 77);
/* oklch */ color: oklch(30.1% 0.118 325.9);
Tailwind
colors: {
  custom: {
    50: '#7f557f',
    500: '#4a0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f4d;
$custom-light: #7f557f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f4d",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 297.097,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30134,
    "c": 0.11842,
    "h": 325.9
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#4A0F4D
secondary
#358731
accent
#EA3E46
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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