#48277A#48277A

#48277A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.134 H 297.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#48277A
RGBrgb(72, 39, 122)
HSLhsl(264, 52%, 32%)
HSVhsv(264, 68%, 48%)
CMYKcmyk(41%, 68%, 0%, 52.2%)
CIE-LABlab(24.43, 34.41, -41.78)
CIE-LCHlch(24.43, 54.13, 309.48°)
OKLaboklab(36.35% 0.0622 -0.1191)
OKLCHoklch(36.35% 0.134 297.6)
XYZxyz(6.9100, 4.2338, 18.8617)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48277A #597A27
analogous
#27307A #48277A #72277A
triadic
#48277A #7A4827 #277A48
tetradic
#48277A #7A2730 #597A27 #277A72
square
#48277A #7A2730 #597A27 #277A72
split-complementary
#48277A #7A7227 #307A27
monochromatic
#11091D #2D184C #48277A #6336A8 #8253C8

Accessibility & contrast

On white

11.37
#48277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#48277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48277A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48277A#FFFFFF#000000##FFFFFF
##48277A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#3C3A4D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48277a;
/* rgb */ color: rgb(72, 39, 122);
/* oklch */ color: oklch(36.4% 0.134 297.6);
Tailwind
colors: {
  custom: {
    50: '#7f63a1',
    500: '#48277a',
    950: '#000000',
  },
}
SCSS
$custom: #48277a;
$custom-light: #7f63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#48277a",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 263.855,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3635,
    "c": 0.13437,
    "h": 297.6
  },
  "luminance": 0.04234
}

Semantic roles & 50–950 ramp

primary
#48277A
secondary
#88AC51
accent
#DB4DA2
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #48277A

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

Preview Lab → · Contrast checker → · Palette generator →

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