#48135E#48135E

#48135E is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.129 H 313.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#48135E
RGBrgb(72, 19, 94)
HSLhsl(282, 66%, 22%)
HSVhsv(282, 80%, 37%)
CMYKcmyk(23.4%, 79.8%, 0%, 63.1%)
CIE-LABlab(18.59, 37.31, -33.05)
CIE-LCHlch(18.59, 49.84, 318.46°)
OKLaboklab(31.48% 0.0893 -0.0933)
OKLCHoklch(31.48% 0.129 313.7)
XYZxyz(4.9254, 2.6518, 10.8399)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48135E #295E13
analogous
#23135E #48135E #5E134F
triadic
#48135E #5E4813 #135E48
tetradic
#48135E #5E2313 #295E13 #134F5E
square
#48135E #5E2313 #295E13 #134F5E
split-complementary
#48135E #4F5E13 #135E23
monochromatic
#130519 #21092B #48135E #6F1D91 #9628C4

Accessibility & contrast

On white

13.72
#48135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#48135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48135E
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48135E#FFFFFF#000000##FFFFFF
##48135E1.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)
#002A60
Deuteranopia (green-blind)
#0D2E5C
Tritanopia (blue-blind)
#462437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48135e;
/* rgb */ color: rgb(72, 19, 94);
/* oklch */ color: oklch(31.5% 0.129 313.7);
Tailwind
colors: {
  custom: {
    50: '#7e578c',
    500: '#48135e',
    950: '#000000',
  },
}
SCSS
$custom: #48135e;
$custom-light: #7e578c;
$custom-dark: #000000;
JSON
{
  "hex": "#48135e",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 282.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.12919,
    "h": 313.7
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#48135E
secondary
#539637
accent
#E93F71
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48135E

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

Preview Lab → · Contrast checker → · Palette generator →

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