#481F52#481F52

#481F52 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.2% C 0.098 H 319.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#481F52
RGBrgb(72, 31, 82)
HSLhsl(288, 45%, 22%)
HSVhsv(288, 62%, 32%)
CMYKcmyk(12.2%, 62.2%, 0%, 67.8%)
CIE-LABlab(19.91, 28.54, -22.91)
CIE-LCHlch(19.91, 36.60, 321.25°)
OKLaboklab(32.17% 0.0744 -0.0638)
OKLCHoklch(32.17% 0.098 319.4)
XYZxyz(4.6853, 2.9671, 8.3069)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F52 #29521F
analogous
#2E1F52 #481F52 #521F43
triadic
#481F52 #52481F #1F5248
tetradic
#481F52 #522E1F #29521F #1F4352
square
#481F52 #522E1F #29521F #1F4352
split-complementary
#481F52 #43521F #1F522E
monochromatic
#130816 #210E26 #481F52 #6F307E #9641AB

Accessibility & contrast

On white

13.18
#481F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#481F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F52
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F52#FFFFFF#000000##FFFFFF
##481F521.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#223251
Tritanopia (blue-blind)
#482735
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481f52;
/* rgb */ color: rgb(72, 31, 82);
/* oklch */ color: oklch(32.2% 0.098 319.4);
Tailwind
colors: {
  custom: {
    50: '#7d5d83',
    500: '#481f52',
    950: '#000000',
  },
}
SCSS
$custom: #481f52;
$custom-light: #7d5d83;
$custom-dark: #000000;
JSON
{
  "hex": "#481f52",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 288.235,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32166,
    "c": 0.09798,
    "h": 319.4
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#481F52
secondary
#538746
accent
#D5536C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #481F52

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

Preview Lab → · Contrast checker → · Palette generator →

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