#480542#480542

#480542 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.119 H 332.5°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#480542
RGBrgb(72, 5, 66)
HSLhsl(305, 87%, 15%)
HSVhsv(305, 93%, 28%)
CMYKcmyk(0%, 93.1%, 8.3%, 71.8%)
CIE-LABlab(14.84, 36.66, -19.94)
CIE-LCHlch(14.84, 41.73, 331.46°)
OKLaboklab(28.18% 0.1056 -0.0549)
OKLCHoklch(28.18% 0.119 332.5)
XYZxyz(3.7101, 1.8799, 5.3207)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#480542 #05480B
analogous
#2C0548 #480542 #480521
triadic
#480542 #424805 #054248
tetradic
#480542 #482C05 #05480B #052148
square
#480542 #482C05 #05480B #052148
split-complementary
#480542 #214805 #05482C
monochromatic
#1D021A #1D021A #480542 #810976 #BA0DAB

Accessibility & contrast

On white

15.26
#480542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#480542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #480542
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##480542#FFFFFF#000000##FFFFFF
##4805421.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F44
Deuteranopia (green-blind)
#1E2941
Tritanopia (blue-blind)
#4C0E24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #480542;
/* rgb */ color: rgb(72, 5, 66);
/* oklch */ color: oklch(28.2% 0.119 332.5);
Tailwind
colors: {
  custom: {
    50: '#7e5076',
    500: '#480542',
    950: '#000000',
  },
}
SCSS
$custom: #480542;
$custom-light: #7e5076;
$custom-dark: #000000;
JSON
{
  "hex": "#480542",
  "rgb": {
    "r": 72,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 305.373,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.28184,
    "c": 0.11907,
    "h": 332.5
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#480542
secondary
#21882A
accent
#FD3D2B
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #480542

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

Preview Lab → · Contrast checker → · Palette generator →

#480542 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva