#48145D#48145D

#48145D is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.127 H 314.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#48145D
RGBrgb(72, 20, 93)
HSLhsl(283, 65%, 22%)
HSVhsv(283, 78%, 36%)
CMYKcmyk(22.6%, 78.5%, 0%, 63.5%)
CIE-LABlab(18.66, 36.65, -32.27)
CIE-LCHlch(18.66, 48.83, 318.64°)
OKLaboklab(31.51% 0.0884 -0.0911)
OKLCHoklch(31.51% 0.127 314.2)
XYZxyz(4.8981, 2.6685, 10.6109)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48145D #295D14
analogous
#24145D #48145D #5D144E
triadic
#48145D #5D4814 #145D48
tetradic
#48145D #5D2414 #295D14 #144E5D
square
#48145D #5D2414 #295D14 #144E5D
split-complementary
#48145D #4E5D14 #145D24
monochromatic
#130519 #21092B #48145D #6F1F8F #962AC2

Accessibility & contrast

On white

13.69
#48145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48145D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48145D#FFFFFF#000000##FFFFFF
##48145D1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#0F2F5B
Tritanopia (blue-blind)
#462437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48145d;
/* rgb */ color: rgb(72, 20, 93);
/* oklch */ color: oklch(31.5% 0.127 314.2);
Tailwind
colors: {
  custom: {
    50: '#7e578b',
    500: '#48145d',
    950: '#000000',
  },
}
SCSS
$custom: #48145d;
$custom-light: #7e578b;
$custom-dark: #000000;
JSON
{
  "hex": "#48145d",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 282.74,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3151,
    "c": 0.12691,
    "h": 314.2
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#48145D
secondary
#539538
accent
#E84070
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48145D

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

Preview Lab → · Contrast checker → · Palette generator →

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