#4A0F48#4A0F48

#4A0F48 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.114 H 329.4°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#4A0F48
RGBrgb(74, 15, 72)
HSLhsl(302, 66%, 17%)
HSVhsv(302, 80%, 29%)
CMYKcmyk(0%, 79.7%, 2.7%, 71%)
CIE-LABlab(16.82, 34.79, -20.96)
CIE-LCHlch(16.82, 40.61, 328.93°)
OKLaboklab(29.8% 0.0981 -0.0579)
OKLCHoklch(29.8% 0.114 329.4)
XYZxyz(4.1645, 2.2657, 6.3476)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F48 #0F4A11
analogous
#2F0F4A #4A0F48 #4A0F2A
triadic
#4A0F48 #484A0F #0F484A
tetradic
#4A0F48 #4A2F0F #0F4A11 #0F2A4A
square
#4A0F48 #4A2F0F #0F4A11 #0F2A4A
split-complementary
#4A0F48 #2A4A0F #0F4A2F
monochromatic
#190519 #190519 #4A0F48 #7D197A #B024AB

Accessibility & contrast

On white

14.45
#4A0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4A0F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F48
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F48#FFFFFF#000000##FFFFFF
##4A0F481.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07244A
Deuteranopia (green-blind)
#202C47
Tritanopia (blue-blind)
#4D172A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0f48;
/* rgb */ color: rgb(74, 15, 72);
/* oklch */ color: oklch(29.8% 0.114 329.4);
Tailwind
colors: {
  custom: {
    50: '#7f547b',
    500: '#4a0f48',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f48;
$custom-light: #7f547b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f48",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 302.034,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29797,
    "c": 0.1139,
    "h": 329.4
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#4A0F48
secondary
#308433
accent
#E9443F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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