#48278F#48278F

#48278F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.160 H 291.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#48278F
RGBrgb(72, 39, 143)
HSLhsl(259, 57%, 36%)
HSVhsv(259, 73%, 56%)
CMYKcmyk(49.7%, 72.7%, 0%, 43.9%)
CIE-LABlab(26.19, 40.45, -52.08)
CIE-LCHlch(26.19, 65.95, 307.84°)
OKLaboklab(38.16% 0.0586 -0.1494)
OKLCHoklch(38.16% 0.16 291.4)
XYZxyz(8.3545, 4.8116, 26.4698)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48278F #6E8F27
analogous
#273A8F #48278F #7C278F
triadic
#48278F #8F4827 #278F48
tetradic
#48278F #8F273A #6E8F27 #278F7C
square
#48278F #8F273A #6E8F27 #278F7C
split-complementary
#48278F #8F7C27 #3A8F27
monochromatic
#180D2F #301A5F #48278F #6034BF #835DD3

Accessibility & contrast

On white

10.70
#48278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48278F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48278F#FFFFFF#000000##FFFFFF
##48278F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#314258
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48278f;
/* rgb */ color: rgb(72, 39, 143);
/* oklch */ color: oklch(38.2% 0.160 291.4);
Tailwind
colors: {
  custom: {
    50: '#8264b1',
    500: '#48278f',
    950: '#000000',
  },
}
SCSS
$custom: #48278f;
$custom-light: #8264b1;
$custom-dark: #000000;
JSON
{
  "hex": "#48278f",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 259.038,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38159,
    "c": 0.16047,
    "h": 291.4
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#48278F
secondary
#9AB85A
accent
#E047B0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #48278F

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

Preview Lab → · Contrast checker → · Palette generator →

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