#480F52#480F52

#480F52 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.122 H 321.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#480F52
RGBrgb(72, 15, 82)
HSLhsl(291, 69%, 19%)
HSVhsv(291, 82%, 32%)
CMYKcmyk(12.2%, 81.7%, 0%, 67.8%)
CIE-LABlab(17.13, 36.29, -27.35)
CIE-LCHlch(17.13, 45.44, 323.00°)
OKLaboklab(30.16% 0.0951 -0.0766)
OKLCHoklch(30.16% 0.122 321.2)
XYZxyz(4.3661, 2.3288, 8.2005)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#480F52 #19520F
analogous
#270F52 #480F52 #520F3B
triadic
#480F52 #52480F #0F5248
tetradic
#480F52 #52270F #19520F #0F3B52
square
#480F52 #52270F #19520F #0F3B52
split-complementary
#480F52 #3B520F #0F5227
monochromatic
#17051A #1B061E #480F52 #751886 #A322B9

Accessibility & contrast

On white

14.33
#480F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#480F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #480F52
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##480F52#FFFFFF#000000##FFFFFF
##480F521.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#172C50
Tritanopia (blue-blind)
#491C30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #480f52;
/* rgb */ color: rgb(72, 15, 82);
/* oklch */ color: oklch(30.2% 0.122 321.2);
Tailwind
colors: {
  custom: {
    50: '#7e5583',
    500: '#480f52',
    950: '#000000',
  },
}
SCSS
$custom: #480f52;
$custom-light: #7e5583;
$custom-dark: #000000;
JSON
{
  "hex": "#480f52",
  "rgb": {
    "r": 72,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 291.045,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30157,
    "c": 0.12211,
    "h": 321.2
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#480F52
secondary
#3E8C31
accent
#EC3C56
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #480F52

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

Preview Lab → · Contrast checker → · Palette generator →

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