#48137F#48137F

#48137F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.163 H 299.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#48137F
RGBrgb(72, 19, 127)
HSLhsl(269, 74%, 29%)
HSVhsv(269, 85%, 50%)
CMYKcmyk(43.3%, 85%, 0%, 50.2%)
CIE-LABlab(21.49, 45.31, -49.75)
CIE-LCHlch(21.49, 67.29, 312.33°)
OKLaboklab(34.41% 0.0803 -0.1424)
OKLCHoklch(34.41% 0.163 299.4)
XYZxyz(6.7351, 3.3757, 20.3713)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48137F #4A7F13
analogous
#13147F #48137F #7E137F
triadic
#48137F #7F4813 #137F48
tetradic
#48137F #7F1314 #4A7F13 #137F7E
square
#48137F #7F1314 #4A7F13 #137F7E
split-complementary
#48137F #7F7E13 #147F13
monochromatic
#0F041B #2A0B4A #48137F #661BB4 #852DE0

Accessibility & contrast

On white

12.54
#48137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#48137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48137F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48137F#FFFFFF#000000##FFFFFF
##48137F1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#3A324A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #48137f;
/* rgb */ color: rgb(72, 19, 127);
/* oklch */ color: oklch(34.4% 0.163 299.4);
Tailwind
colors: {
  custom: {
    50: '#8159a5',
    500: '#48137f',
    950: '#000000',
  },
}
SCSS
$custom: #48137f;
$custom-light: #8159a5;
$custom-dark: #000000;
JSON
{
  "hex": "#48137f",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 269.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34408,
    "c": 0.16346,
    "h": 299.4
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#48137F
secondary
#78B439
accent
#F13796
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48137F

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

Preview Lab → · Contrast checker → · Palette generator →

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