#48278E#48278E

#48278E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.159 H 291.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#48278E
RGBrgb(72, 39, 142)
HSLhsl(259, 57%, 35%)
HSVhsv(259, 73%, 56%)
CMYKcmyk(49.3%, 72.5%, 0%, 44.3%)
CIE-LABlab(26.10, 40.16, -51.60)
CIE-LCHlch(26.10, 65.39, 307.89°)
OKLaboklab(38.07% 0.0588 -0.148)
OKLCHoklch(38.07% 0.159 291.7)
XYZxyz(8.2791, 4.7814, 26.0726)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48278E #6D8E27
analogous
#273A8E #48278E #7B278E
triadic
#48278E #8E4827 #278E48
tetradic
#48278E #8E273A #6D8E27 #278E7B
square
#48278E #8E273A #6D8E27 #278E7B
split-complementary
#48278E #8E7B27 #3A8E27
monochromatic
#170D2E #301A5E #48278E #6034BE #835DD2

Accessibility & contrast

On white

10.73
#48278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#48278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48278E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48278E#FFFFFF#000000##FFFFFF
##48278E1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#324258
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48278e;
/* rgb */ color: rgb(72, 39, 142);
/* oklch */ color: oklch(38.1% 0.159 291.7);
Tailwind
colors: {
  custom: {
    50: '#8264b0',
    500: '#48278e',
    950: '#000000',
  },
}
SCSS
$custom: #48278e;
$custom-light: #8264b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48278e",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 259.223,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.15925,
    "h": 291.7
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#48278E
secondary
#99B859
accent
#E048AF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #48278E

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

Preview Lab → · Contrast checker → · Palette generator →

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