#48277F#48277F

#48277F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.141 H 295.9°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#48277F
RGBrgb(72, 39, 127)
HSLhsl(263, 53%, 33%)
HSVhsv(263, 69%, 50%)
CMYKcmyk(43.3%, 69.3%, 0%, 50.2%)
CIE-LABlab(24.83, 35.84, -44.30)
CIE-LCHlch(24.83, 56.98, 308.97°)
OKLaboklab(36.76% 0.0615 -0.1265)
OKLCHoklch(36.76% 0.141 295.9)
XYZxyz(7.2278, 4.3609, 20.5355)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48277F #5E7F27
analogous
#27327F #48277F #74277F
triadic
#48277F #7F4827 #277F48
tetradic
#48277F #7F2732 #5E7F27 #277F74
square
#48277F #7F2732 #5E7F27 #277F74
split-complementary
#48277F #7F7427 #327F27
monochromatic
#130A21 #2D1950 #48277F #6335AE #8255CB

Accessibility & contrast

On white

11.22
#48277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#48277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48277F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48277F#FFFFFF#000000##FFFFFF
##48277F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#3A3C4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48277f;
/* rgb */ color: rgb(72, 39, 127);
/* oklch */ color: oklch(36.8% 0.141 295.9);
Tailwind
colors: {
  custom: {
    50: '#8063a5',
    500: '#48277f',
    950: '#000000',
  },
}
SCSS
$custom: #48277f;
$custom-light: #8063a5;
$custom-dark: #000000;
JSON
{
  "hex": "#48277f",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 262.5,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36764,
    "c": 0.14067,
    "h": 295.9
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#48277F
secondary
#8DB052
accent
#DC4BA6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #48277F

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

Preview Lab → · Contrast checker → · Palette generator →

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