#48135F#48135F

#48135F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.130 H 313.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#48135F
RGBrgb(72, 19, 95)
HSLhsl(282, 67%, 22%)
HSVhsv(282, 80%, 37%)
CMYKcmyk(24.2%, 80%, 0%, 62.7%)
CIE-LABlab(18.67, 37.54, -33.59)
CIE-LCHlch(18.67, 50.38, 318.18°)
OKLaboklab(31.56% 0.0891 -0.0949)
OKLCHoklch(31.56% 0.13 313.2)
XYZxyz(4.9706, 2.6698, 11.0777)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48135F #2A5F13
analogous
#22135F #48135F #5F1350
triadic
#48135F #5F4813 #135F48
tetradic
#48135F #5F2213 #2A5F13 #13505F
square
#48135F #5F2213 #2A5F13 #13505F
split-complementary
#48135F #505F13 #135F22
monochromatic
#13051A #21092C #48135F #6F1D92 #9527C5

Accessibility & contrast

On white

13.69
#48135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48135F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48135F#FFFFFF#000000##FFFFFF
##48135F1.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)
#002B61
Deuteranopia (green-blind)
#0B2F5D
Tritanopia (blue-blind)
#462438
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48135f;
/* rgb */ color: rgb(72, 19, 95);
/* oklch */ color: oklch(31.6% 0.130 313.2);
Tailwind
colors: {
  custom: {
    50: '#7e578d',
    500: '#48135f',
    950: '#000000',
  },
}
SCSS
$custom: #48135f;
$custom-light: #7e578d;
$custom-dark: #000000;
JSON
{
  "hex": "#48135f",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 281.842,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31563,
    "c": 0.13022,
    "h": 313.2
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#48135F
secondary
#549737
accent
#EA3E72
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48135F

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

Preview Lab → · Contrast checker → · Palette generator →

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