#481152#481152

#481152 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.120 H 321.0°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#481152
RGBrgb(72, 17, 82)
HSLhsl(291, 66%, 19%)
HSVhsv(291, 79%, 32%)
CMYKcmyk(12.2%, 79.3%, 0%, 67.8%)
CIE-LABlab(17.40, 35.49, -26.90)
CIE-LCHlch(17.40, 44.53, 322.84°)
OKLaboklab(30.35% 0.093 -0.0753)
OKLCHoklch(30.35% 0.12 321)
XYZxyz(4.3958, 2.3880, 8.2104)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481152 #1B5211
analogous
#281152 #481152 #52113C
triadic
#481152 #524811 #115248
tetradic
#481152 #522811 #1B5211 #113C52
square
#481152 #522811 #1B5211 #113C52
split-complementary
#481152 #3C5211 #115228
monochromatic
#160519 #1B061F #481152 #751C85 #A126B7

Accessibility & contrast

On white

14.21
#481152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481152
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481152#FFFFFF#000000##FFFFFF
##4811521.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481152;
/* rgb */ color: rgb(72, 17, 82);
/* oklch */ color: oklch(30.4% 0.120 321.0);
Tailwind
colors: {
  custom: {
    50: '#7e5683',
    500: '#481152',
    950: '#000000',
  },
}
SCSS
$custom: #481152;
$custom-light: #7e5683;
$custom-dark: #000000;
JSON
{
  "hex": "#481152",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 290.769,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.11965,
    "h": 321
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#481152
secondary
#418B34
accent
#E93F59
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #481152

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

Preview Lab → · Contrast checker → · Palette generator →

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