#48278D#48278D

#48278D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.158 H 291.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#48278D
RGBrgb(72, 39, 141)
HSLhsl(259, 57%, 35%)
HSVhsv(259, 72%, 55%)
CMYKcmyk(48.9%, 72.3%, 0%, 44.7%)
CIE-LABlab(26.02, 39.87, -51.13)
CIE-LCHlch(26.02, 64.84, 307.95°)
OKLaboklab(37.98% 0.059 -0.1466)
OKLCHoklch(37.98% 0.158 291.9)
XYZxyz(8.2044, 4.7516, 25.6790)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48278D #6C8D27
analogous
#27398D #48278D #7B278D
triadic
#48278D #8D4827 #278D48
tetradic
#48278D #8D2739 #6C8D27 #278D7B
square
#48278D #8D2739 #6C8D27 #278D7B
split-complementary
#48278D #8D7B27 #398D27
monochromatic
#170C2D #301A5D #48278D #6034BD #825CD2

Accessibility & contrast

On white

10.77
#48278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#48278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48278D
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48278D#FFFFFF#000000##FFFFFF
##48278D1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#324157
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48278d;
/* rgb */ color: rgb(72, 39, 141);
/* oklch */ color: oklch(38.0% 0.158 291.9);
Tailwind
colors: {
  custom: {
    50: '#8264af',
    500: '#48278d',
    950: '#000000',
  },
}
SCSS
$custom: #48278d;
$custom-light: #8264af;
$custom-dark: #000000;
JSON
{
  "hex": "#48278d",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 259.412,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3798,
    "c": 0.15802,
    "h": 291.9
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#48278D
secondary
#99B759
accent
#E048AF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48278D

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

Preview Lab → · Contrast checker → · Palette generator →

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