#48278A#48278A

#48278A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.154 H 292.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#48278A
RGBrgb(72, 39, 138)
HSLhsl(260, 56%, 35%)
HSVhsv(260, 72%, 54%)
CMYKcmyk(47.8%, 71.7%, 0%, 45.9%)
CIE-LABlab(25.75, 39.01, -49.69)
CIE-LCHlch(25.75, 63.17, 308.13°)
OKLaboklab(37.71% 0.0596 -0.1424)
OKLCHoklch(37.71% 0.154 292.7)
XYZxyz(7.9842, 4.6635, 24.5193)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48278A #698A27
analogous
#27388A #48278A #7A278A
triadic
#48278A #8A4827 #278A48
tetradic
#48278A #8A2738 #698A27 #278A7A
square
#48278A #8A2738 #698A27 #278A7A
split-complementary
#48278A #8A7A27 #388A27
monochromatic
#160C2B #2F1A5A #48278A #6134BA #825BD1

Accessibility & contrast

On white

10.87
#48278A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#48278A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48278A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48278A#FFFFFF#000000##FFFFFF
##48278A1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#344055
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48278a;
/* rgb */ color: rgb(72, 39, 138);
/* oklch */ color: oklch(37.7% 0.154 292.7);
Tailwind
colors: {
  custom: {
    50: '#8164ad',
    500: '#48278a',
    950: '#000000',
  },
}
SCSS
$custom: #48278a;
$custom-light: #8164ad;
$custom-dark: #000000;
JSON
{
  "hex": "#48278a",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 260,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37713,
    "c": 0.15435,
    "h": 292.7
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#48278A
secondary
#96B657
accent
#DF49AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48278A

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

Preview Lab → · Contrast checker → · Palette generator →

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