#48137E#48137E

#48137E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.162 H 299.8°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#48137E
RGBrgb(72, 19, 126)
HSLhsl(270, 74%, 28%)
HSVhsv(270, 85%, 49%)
CMYKcmyk(42.9%, 84.9%, 0%, 50.6%)
CIE-LABlab(21.39, 45.06, -49.27)
CIE-LCHlch(21.39, 66.77, 312.44°)
OKLaboklab(34.31% 0.0806 -0.141)
OKLCHoklch(34.31% 0.162 299.8)
XYZxyz(6.6703, 3.3497, 20.0298)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48137E #497E13
analogous
#13137E #48137E #7D137E
triadic
#48137E #7E4813 #137E48
tetradic
#48137E #7E1313 #497E13 #137E7D
square
#48137E #7E1313 #497E13 #137E7D
split-complementary
#48137E #7E7D13 #137E13
monochromatic
#0F041B #2A0B49 #48137E #661BB3 #852CDF

Accessibility & contrast

On white

12.57
#48137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#48137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48137E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48137E#FFFFFF#000000##FFFFFF
##48137E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#3B324A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #48137e;
/* rgb */ color: rgb(72, 19, 126);
/* oklch */ color: oklch(34.3% 0.162 299.8);
Tailwind
colors: {
  custom: {
    50: '#8159a4',
    500: '#48137e',
    950: '#000000',
  },
}
SCSS
$custom: #48137e;
$custom-light: #8159a4;
$custom-dark: #000000;
JSON
{
  "hex": "#48137e",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 269.72,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34312,
    "c": 0.16241,
    "h": 299.8
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#48137E
secondary
#77B439
accent
#F03795
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48137E

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

Preview Lab → · Contrast checker → · Palette generator →

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