#4A0F4C#4A0F4C

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

Color values

HEX#4A0F4C
RGBrgb(74, 15, 76)
HSLhsl(298, 67%, 18%)
HSVhsv(298, 80%, 30%)
CMYKcmyk(2.6%, 80.3%, 0%, 70.2%)
CIE-LABlab(17.08, 35.56, -23.30)
CIE-LCHlch(17.08, 42.51, 326.76°)
OKLaboklab(30.07% 0.0981 -0.0647)
OKLCHoklch(30.07% 0.118 326.6)
XYZxyz(4.2993, 2.3196, 7.0574)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F4C #114C0F
analogous
#2B0F4C #4A0F4C #4C0F2F
triadic
#4A0F4C #4C4A0F #0F4C4A
tetradic
#4A0F4C #4C2B0F #114C0F #0F2F4C
square
#4A0F4C #4C2B0F #114C0F #0F2F4C
split-complementary
#4A0F4C #2F4C0F #0F4C2B
monochromatic
#19051A #19051A #4A0F4C #7C197F #AE23B2

Accessibility & contrast

On white

14.35
#4A0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F4C
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F4C#FFFFFF#000000##FFFFFF
##4A0F4C1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254E
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#4C192C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0f4c;
/* rgb */ color: rgb(74, 15, 76);
/* oklch */ color: oklch(30.1% 0.118 326.6);
Tailwind
colors: {
  custom: {
    50: '#7f557e',
    500: '#4a0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f4c;
$custom-light: #7f557e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f4c",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 298.033,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30065,
    "c": 0.11751,
    "h": 326.6
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#4A0F4C
secondary
#338631
accent
#EA3E44
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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