#481748#481748

#481748 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.4% C 0.101 H 327.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#481748
RGBrgb(72, 23, 72)
HSLhsl(300, 52%, 19%)
HSVhsv(300, 68%, 28%)
CMYKcmyk(0%, 68.1%, 0%, 71.8%)
CIE-LABlab(17.73, 30.65, -19.55)
CIE-LCHlch(17.73, 36.36, 327.47°)
OKLaboklab(30.38% 0.0854 -0.0539)
OKLCHoklch(30.38% 0.101 327.7)
XYZxyz(4.1485, 2.4587, 6.3857)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481748 #174817
analogous
#2F1748 #481748 #48172F
triadic
#481748 #484817 #174848
tetradic
#481748 #482F17 #174817 #172F48
square
#481748 #482F17 #174817 #172F48
split-complementary
#481748 #2F4817 #17482F
monochromatic
#170717 #1A081A #481748 #762676 #A535A5

Accessibility & contrast

On white

14.08
#481748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#481748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481748
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481748#FFFFFF#000000##FFFFFF
##4817481.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112749
Deuteranopia (green-blind)
#232E47
Tritanopia (blue-blind)
#4A1D2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #481748;
/* rgb */ color: rgb(72, 23, 72);
/* oklch */ color: oklch(30.4% 0.101 327.7);
Tailwind
colors: {
  custom: {
    50: '#7d587b',
    500: '#481748',
    950: '#000000',
  },
}
SCSS
$custom: #481748;
$custom-light: #7d587b;
$custom-dark: #000000;
JSON
{
  "hex": "#481748",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 300,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30379,
    "c": 0.101,
    "h": 327.7
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#481748
secondary
#3C7F3C
accent
#DB4D4D
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #481748

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

Preview Lab → · Contrast checker → · Palette generator →

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