#482147#482147

#482147 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 31.8% C 0.082 H 328.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#482147
RGBrgb(72, 33, 71)
HSLhsl(302, 37%, 21%)
HSVhsv(302, 54%, 28%)
CMYKcmyk(0%, 54.2%, 1.4%, 71.8%)
CIE-LABlab(19.72, 24.92, -15.74)
CIE-LCHlch(19.72, 29.47, 327.72°)
OKLaboklab(31.82% 0.0696 -0.0431)
OKLCHoklch(31.82% 0.082 328.2)
XYZxyz(4.3536, 2.9206, 6.2944)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482147 #214822
analogous
#352148 #482147 #482133
triadic
#482147 #474821 #214748
tetradic
#482147 #483521 #214822 #213348
square
#482147 #483521 #214822 #213348
split-complementary
#482147 #334821 #214835
monochromatic
#150A15 #1E0E1E #482147 #723470 #9C479A

Accessibility & contrast

On white

13.26
#482147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#482147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482147
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482147#FFFFFF#000000##FFFFFF
##4821471.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C48
Deuteranopia (green-blind)
#293246
Tritanopia (blue-blind)
#4A2530
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #482147;
/* rgb */ color: rgb(72, 33, 71);
/* oklch */ color: oklch(31.8% 0.082 328.2);
Tailwind
colors: {
  custom: {
    50: '#7c5e7a',
    500: '#482147',
    950: '#000000',
  },
}
SCSS
$custom: #482147;
$custom-light: #7c5e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#482147",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 301.538,
    "s": 37.143,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31823,
    "c": 0.08189,
    "h": 328.2
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#482147
secondary
#497C4A
accent
#CD5E5B
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #482147

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

Preview Lab → · Contrast checker → · Palette generator →

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