#480540#480540

#480540 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.117 H 334.0°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#480540
RGBrgb(72, 5, 64)
HSLhsl(307, 87%, 15%)
HSVhsv(307, 93%, 28%)
CMYKcmyk(0%, 93.1%, 11.1%, 71.8%)
CIE-LABlab(14.72, 36.32, -18.73)
CIE-LCHlch(14.72, 40.87, 332.72°)
OKLaboklab(28.05% 0.1056 -0.0514)
OKLCHoklch(28.05% 0.117 334)
XYZxyz(3.6522, 1.8568, 5.0155)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#480540 #05480D
analogous
#2E0548 #480540 #48051F
triadic
#480540 #404805 #054048
tetradic
#480540 #482E05 #05480D #051F48
square
#480540 #482E05 #05480D #051F48
split-complementary
#480540 #1F4805 #05482E
monochromatic
#1D0219 #1D0219 #480540 #810973 #BA0DA6

Accessibility & contrast

On white

15.32
#480540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#480540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #480540
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##480540#FFFFFF#000000##FFFFFF
##4805401.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031F41
Deuteranopia (green-blind)
#1F283F
Tritanopia (blue-blind)
#4C0D23
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #480540;
/* rgb */ color: rgb(72, 5, 64);
/* oklch */ color: oklch(28.1% 0.117 334.0);
Tailwind
colors: {
  custom: {
    50: '#7e5075',
    500: '#480540',
    950: '#000000',
  },
}
SCSS
$custom: #480540;
$custom-light: #7e5075;
$custom-dark: #000000;
JSON
{
  "hex": "#480540",
  "rgb": {
    "r": 72,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 307.164,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.28053,
    "c": 0.11749,
    "h": 334
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#480540
secondary
#21882D
accent
#FD442B
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #480540

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

Preview Lab → · Contrast checker → · Palette generator →

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