#480C5F#480C5F

#480C5F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.138 H 313.9°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#480C5F
RGBrgb(72, 12, 95)
HSLhsl(283, 78%, 21%)
HSVhsv(283, 87%, 37%)
CMYKcmyk(24.2%, 87.4%, 0%, 62.7%)
CIE-LABlab(17.77, 40.14, -35.05)
CIE-LCHlch(17.77, 53.29, 318.87°)
OKLaboklab(30.93% 0.0956 -0.0992)
OKLCHoklch(30.93% 0.138 313.9)
XYZxyz(4.8692, 2.4671, 11.0440)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#480C5F #235F0C
analogous
#1E0C5F #480C5F #5F0C4C
triadic
#480C5F #5F480C #0C5F48
tetradic
#480C5F #5F1E0C #235F0C #0C4C5F
square
#480C5F #5F1E0C #235F0C #0C4C5F
split-complementary
#480C5F #4C5F0C #0C5F1E
monochromatic
#15031B #1F0529 #480C5F #711395 #9A1ACC

Accessibility & contrast

On white

14.06
#480C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#480C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #480C5F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##480C5F#FFFFFF#000000##FFFFFF
##480C5F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#032D5D
Tritanopia (blue-blind)
#462137
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #480c5f;
/* rgb */ color: rgb(72, 12, 95);
/* oklch */ color: oklch(30.9% 0.138 313.9);
Tailwind
colors: {
  custom: {
    50: '#7f548d',
    500: '#480c5f',
    950: '#000000',
  },
}
SCSS
$custom: #480c5f;
$custom-light: #7f548d;
$custom-dark: #000000;
JSON
{
  "hex": "#480c5f",
  "rgb": {
    "r": 72,
    "g": 12,
    "b": 95
  },
  "hsl": {
    "h": 283.373,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3093,
    "c": 0.1377,
    "h": 313.9
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#480C5F
secondary
#4B992D
accent
#F43469
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #480C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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