#48137C#48137C

#48137C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.160 H 300.5°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#48137C
RGBrgb(72, 19, 124)
HSLhsl(270, 73%, 28%)
HSVhsv(270, 85%, 49%)
CMYKcmyk(41.9%, 84.7%, 0%, 51.4%)
CIE-LABlab(21.20, 44.56, -48.32)
CIE-LCHlch(21.20, 65.73, 312.68°)
OKLaboklab(34.12% 0.0813 -0.1382)
OKLCHoklch(34.12% 0.16 300.5)
XYZxyz(6.5425, 3.2986, 19.3569)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48137C #477C13
analogous
#14137C #48137C #7C137B
triadic
#48137C #7C4813 #137C48
tetradic
#48137C #7C1413 #477C13 #137B7C
square
#48137C #7C1413 #477C13 #137B7C
split-complementary
#48137C #7B7C13 #137C14
monochromatic
#0F041B #290B47 #48137C #671BB1 #862BDF

Accessibility & contrast

On white

12.65
#48137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#48137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48137C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48137C#FFFFFF#000000##FFFFFF
##48137C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#3C3149
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #48137c;
/* rgb */ color: rgb(72, 19, 124);
/* oklch */ color: oklch(34.1% 0.160 300.5);
Tailwind
colors: {
  custom: {
    50: '#8159a3',
    500: '#48137c',
    950: '#000000',
  },
}
SCSS
$custom: #48137c;
$custom-light: #8159a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48137c",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 270.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34122,
    "c": 0.16033,
    "h": 300.5
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#48137C
secondary
#75B239
accent
#F03893
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48137C

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

Preview Lab → · Contrast checker → · Palette generator →

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