#48145C#48145C

#48145C is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.4% C 0.126 H 314.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#48145C
RGBrgb(72, 20, 92)
HSLhsl(283, 64%, 22%)
HSVhsv(283, 78%, 36%)
CMYKcmyk(21.7%, 78.3%, 0%, 63.9%)
CIE-LABlab(18.59, 36.42, -31.73)
CIE-LCHlch(18.59, 48.30, 318.94°)
OKLaboklab(31.43% 0.0886 -0.0895)
OKLCHoklch(31.43% 0.126 314.7)
XYZxyz(4.8541, 2.6509, 10.3791)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48145C #285C14
analogous
#24145C #48145C #5C144C
triadic
#48145C #5C4814 #145C48
tetradic
#48145C #5C2414 #285C14 #144C5C
square
#48145C #5C2414 #285C14 #144C5C
split-complementary
#48145C #4C5C14 #145C24
monochromatic
#140519 #21092A #48145C #6F1F8E #972AC1

Accessibility & contrast

On white

13.72
#48145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#48145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48145C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48145C#FFFFFF#000000##FFFFFF
##48145C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#112F5A
Tritanopia (blue-blind)
#462437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48145c;
/* rgb */ color: rgb(72, 20, 92);
/* oklch */ color: oklch(31.4% 0.126 314.7);
Tailwind
colors: {
  custom: {
    50: '#7e578b',
    500: '#48145c',
    950: '#000000',
  },
}
SCSS
$custom: #48145c;
$custom-light: #7e578b;
$custom-dark: #000000;
JSON
{
  "hex": "#48145c",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 283.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31432,
    "c": 0.12587,
    "h": 314.7
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#48145C
secondary
#529438
accent
#E7416F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48145C

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

Preview Lab → · Contrast checker → · Palette generator →

#48145C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva