#481248#481248

#481248 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.109 H 327.9°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#481248
RGBrgb(72, 18, 72)
HSLhsl(300, 60%, 18%)
HSVhsv(300, 75%, 28%)
CMYKcmyk(0%, 75%, 0%, 71.8%)
CIE-LABlab(16.89, 33.01, -20.88)
CIE-LCHlch(16.89, 39.06, 327.68°)
OKLaboklab(29.77% 0.092 -0.0578)
OKLCHoklch(29.77% 0.109 327.9)
XYZxyz(4.0584, 2.2785, 6.3557)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481248 #124812
analogous
#2D1248 #481248 #48122D
triadic
#481248 #484812 #124848
tetradic
#481248 #482D12 #124812 #122D48
square
#481248 #482D12 #124812 #122D48
split-complementary
#481248 #2D4812 #12482D
monochromatic
#180618 #180618 #481248 #791E79 #AA2AAA

Accessibility & contrast

On white

14.43
#481248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#481248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481248
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481248#FFFFFF#000000##FFFFFF
##4812481.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A254A
Deuteranopia (green-blind)
#202C47
Tritanopia (blue-blind)
#4A1A2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #481248;
/* rgb */ color: rgb(72, 18, 72);
/* oklch */ color: oklch(29.8% 0.109 327.9);
Tailwind
colors: {
  custom: {
    50: '#7d557b',
    500: '#481248',
    950: '#000000',
  },
}
SCSS
$custom: #481248;
$custom-light: #7d557b;
$custom-dark: #000000;
JSON
{
  "hex": "#481248",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29768,
    "c": 0.10867,
    "h": 327.9
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#481248
secondary
#358135
accent
#E34545
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #481248

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

Preview Lab → · Contrast checker → · Palette generator →

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