#481252#481252

#481252 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.118 H 320.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#481252
RGBrgb(72, 18, 82)
HSLhsl(291, 64%, 20%)
HSVhsv(291, 78%, 32%)
CMYKcmyk(12.2%, 78%, 0%, 67.8%)
CIE-LABlab(17.55, 35.07, -26.67)
CIE-LCHlch(17.55, 44.06, 322.75°)
OKLaboklab(30.46% 0.0919 -0.0746)
OKLCHoklch(30.46% 0.118 320.9)
XYZxyz(4.4116, 2.4198, 8.2157)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481252 #1C5212
analogous
#281252 #481252 #52123C
triadic
#481252 #524812 #125248
tetradic
#481252 #522812 #1C5212 #123C52
square
#481252 #522812 #1C5212 #123C52
split-complementary
#481252 #3C5212 #125228
monochromatic
#160619 #1C0720 #481252 #741D84 #A028B6

Accessibility & contrast

On white

14.15
#481252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#481252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481252
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481252#FFFFFF#000000##FFFFFF
##4812521.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#192D50
Tritanopia (blue-blind)
#491E30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #481252;
/* rgb */ color: rgb(72, 18, 82);
/* oklch */ color: oklch(30.5% 0.118 320.9);
Tailwind
colors: {
  custom: {
    50: '#7e5683',
    500: '#481252',
    950: '#000000',
  },
}
SCSS
$custom: #481252;
$custom-light: #7e5683;
$custom-dark: #000000;
JSON
{
  "hex": "#481252",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 290.625,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3046,
    "c": 0.11834,
    "h": 320.9
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#481252
secondary
#428B35
accent
#E7415B
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #481252

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

Preview Lab → · Contrast checker → · Palette generator →

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