#480C40#480C40

#480C40 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.110 H 334.2°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#480C40
RGBrgb(72, 12, 64)
HSLhsl(308, 71%, 16%)
HSVhsv(308, 83%, 28%)
CMYKcmyk(0%, 83.3%, 11.1%, 71.8%)
CIE-LABlab(15.55, 33.93, -17.43)
CIE-LCHlch(15.55, 38.14, 332.81°)
OKLaboklab(28.65% 0.0986 -0.0477)
OKLCHoklch(28.65% 0.11 334.2)
XYZxyz(3.7294, 2.0112, 5.0413)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#480C40 #0C4814
analogous
#320C48 #480C40 #480C22
triadic
#480C40 #40480C #0C4048
tetradic
#480C40 #48320C #0C4814 #0C2248
square
#480C40 #48320C #0C4814 #0C2248
split-complementary
#480C40 #22480C #0C4832
monochromatic
#1A0417 #1A0417 #480C40 #7C156F #B11D9D

Accessibility & contrast

On white

14.98
#480C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#480C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #480C40
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##480C40#FFFFFF#000000##FFFFFF
##480C401.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2141
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#4C1225
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #480c40;
/* rgb */ color: rgb(72, 12, 64);
/* oklch */ color: oklch(28.6% 0.110 334.2);
Tailwind
colors: {
  custom: {
    50: '#7e5375',
    500: '#480c40',
    950: '#000000',
  },
}
SCSS
$custom: #480c40;
$custom-light: #7e5375;
$custom-dark: #000000;
JSON
{
  "hex": "#480c40",
  "rgb": {
    "r": 72,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 308,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28646,
    "c": 0.10953,
    "h": 334.2
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#480C40
secondary
#2C8438
accent
#EE523A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #480C40

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

Preview Lab → · Contrast checker → · Palette generator →

#480C40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva