#4A0F46#4A0F46

#4A0F46 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.112 H 330.9°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#4A0F46
RGBrgb(74, 15, 70)
HSLhsl(304, 66%, 17%)
HSVhsv(304, 80%, 29%)
CMYKcmyk(0%, 79.7%, 5.4%, 71%)
CIE-LABlab(16.70, 34.41, -19.77)
CIE-LCHlch(16.70, 39.69, 330.12°)
OKLaboklab(29.67% 0.098 -0.0545)
OKLCHoklch(29.67% 0.112 330.9)
XYZxyz(4.1003, 2.2400, 6.0096)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F46 #0F4A13
analogous
#310F4A #4A0F46 #4A0F28
triadic
#4A0F46 #464A0F #0F464A
tetradic
#4A0F46 #4A310F #0F4A13 #0F284A
square
#4A0F46 #4A310F #0F4A13 #0F284A
split-complementary
#4A0F46 #284A0F #0F4A31
monochromatic
#190518 #190518 #4A0F46 #7D1976 #B024A6

Accessibility & contrast

On white

14.50
#4A0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F46
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F46#FFFFFF#000000##FFFFFF
##4A0F461.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2448
Deuteranopia (green-blind)
#212C45
Tritanopia (blue-blind)
#4D1629
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0f46;
/* rgb */ color: rgb(74, 15, 70);
/* oklch */ color: oklch(29.7% 0.112 330.9);
Tailwind
colors: {
  custom: {
    50: '#7f5479',
    500: '#4a0f46',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f46;
$custom-light: #7f5479;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f46",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 304.068,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29668,
    "c": 0.11214,
    "h": 330.9
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#4A0F46
secondary
#308436
accent
#E94A3F
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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