#48277C#48277C

#48277C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.137 H 296.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#48277C
RGBrgb(72, 39, 124)
HSLhsl(263, 52%, 32%)
HSVhsv(263, 69%, 49%)
CMYKcmyk(41.9%, 68.5%, 0%, 51.4%)
CIE-LABlab(24.59, 34.98, -42.79)
CIE-LCHlch(24.59, 55.27, 309.26°)
OKLaboklab(36.51% 0.0619 -0.1221)
OKLCHoklch(36.51% 0.137 296.9)
XYZxyz(7.0352, 4.2839, 19.5211)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48277C #5B7C27
analogous
#27317C #48277C #73277C
triadic
#48277C #7C4827 #277C48
tetradic
#48277C #7C2731 #5B7C27 #277C73
square
#48277C #7C2731 #5B7C27 #277C73
split-complementary
#48277C #7C7327 #317C27
monochromatic
#120A1F #2D184D #48277C #6336AB #8254C9

Accessibility & contrast

On white

11.31
#48277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#48277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48277C
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48277C#FFFFFF#000000##FFFFFF
##48277C1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#3B3B4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48277c;
/* rgb */ color: rgb(72, 39, 124);
/* oklch */ color: oklch(36.5% 0.137 296.9);
Tailwind
colors: {
  custom: {
    50: '#8063a3',
    500: '#48277c',
    950: '#000000',
  },
}
SCSS
$custom: #48277c;
$custom-light: #8063a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48277c",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 263.294,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36514,
    "c": 0.13689,
    "h": 296.9
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

primary
#48277C
secondary
#8AAE51
accent
#DC4CA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #48277C

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

Preview Lab → · Contrast checker → · Palette generator →

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