#481247#481247

#481247 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.7% C 0.108 H 328.6°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#481247
RGBrgb(72, 18, 71)
HSLhsl(301, 60%, 18%)
HSVhsv(301, 75%, 28%)
CMYKcmyk(0%, 75%, 1.4%, 71.8%)
CIE-LABlab(16.82, 32.82, -20.29)
CIE-LCHlch(16.82, 38.58, 328.27°)
OKLaboklab(29.7% 0.092 -0.056)
OKLCHoklch(29.7% 0.108 328.6)
XYZxyz(4.0261, 2.2655, 6.1853)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481247 #124813
analogous
#2E1248 #481247 #48122C
triadic
#481247 #474812 #124748
tetradic
#481247 #482E12 #124813 #122C48
square
#481247 #482E12 #124813 #122C48
split-complementary
#481247 #2C4812 #12482E
monochromatic
#180618 #180618 #481247 #791E77 #AA2AA8

Accessibility & contrast

On white

14.45
#481247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#481247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481247
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481247#FFFFFF#000000##FFFFFF
##4812471.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2549
Deuteranopia (green-blind)
#202C46
Tritanopia (blue-blind)
#4B192A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #481247;
/* rgb */ color: rgb(72, 18, 71);
/* oklch */ color: oklch(29.7% 0.108 328.6);
Tailwind
colors: {
  custom: {
    50: '#7d557a',
    500: '#481247',
    950: '#000000',
  },
}
SCSS
$custom: #481247;
$custom-light: #7d557a;
$custom-dark: #000000;
JSON
{
  "hex": "#481247",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 301.111,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29703,
    "c": 0.10773,
    "h": 328.6
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#481247
secondary
#358136
accent
#E34845
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #481247

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

Preview Lab → · Contrast checker → · Palette generator →

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