#48105E#48105E

#48105E is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.133 H 314.1°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#48105E
RGBrgb(72, 16, 94)
HSLhsl(283, 71%, 22%)
HSVhsv(283, 83%, 37%)
CMYKcmyk(23.4%, 83%, 0%, 63.1%)
CIE-LABlab(18.17, 38.51, -33.73)
CIE-LCHlch(18.17, 51.20, 318.79°)
OKLaboklab(31.19% 0.0923 -0.0953)
OKLCHoklch(31.19% 0.133 314.1)
XYZxyz(4.8778, 2.5566, 10.8240)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48105E #265E10
analogous
#21105E #48105E #5E104D
triadic
#48105E #5E4810 #105E48
tetradic
#48105E #5E2110 #265E10 #104D5E
square
#48105E #5E2110 #265E10 #104D5E
split-complementary
#48105E #4D5E10 #105E21
monochromatic
#14041A #20072A #48105E #701992 #9822C7

Accessibility & contrast

On white

13.90
#48105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#48105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48105E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48105E#FFFFFF#000000##FFFFFF
##48105E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#092E5C
Tritanopia (blue-blind)
#462237
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #48105e;
/* rgb */ color: rgb(72, 16, 94);
/* oklch */ color: oklch(31.2% 0.133 314.1);
Tailwind
colors: {
  custom: {
    50: '#7e568c',
    500: '#48105e',
    950: '#000000',
  },
}
SCSS
$custom: #48105e;
$custom-light: #7e568c;
$custom-dark: #000000;
JSON
{
  "hex": "#48105e",
  "rgb": {
    "r": 72,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 283.077,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.13268,
    "h": 314.1
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#48105E
secondary
#4F9733
accent
#EE3A6D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48105E

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

Preview Lab → · Contrast checker → · Palette generator →

#48105E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva