#48278B#48278B

#48278B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.156 H 292.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#48278B
RGBrgb(72, 39, 139)
HSLhsl(260, 56%, 35%)
HSVhsv(260, 72%, 55%)
CMYKcmyk(48.2%, 71.9%, 0%, 45.5%)
CIE-LABlab(25.84, 39.29, -50.17)
CIE-LCHlch(25.84, 63.73, 308.07°)
OKLaboklab(37.8% 0.0594 -0.1438)
OKLCHoklch(37.8% 0.156 292.5)
XYZxyz(8.0569, 4.6926, 24.9023)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48278B #6A8B27
analogous
#27388B #48278B #7A278B
triadic
#48278B #8B4827 #278B48
tetradic
#48278B #8B2738 #6A8B27 #278B7A
square
#48278B #8B2738 #6A8B27 #278B7A
split-complementary
#48278B #8B7A27 #388B27
monochromatic
#160C2B #2F1A5B #48278B #6134BB #825BD1

Accessibility & contrast

On white

10.83
#48278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#48278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48278B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48278B#FFFFFF#000000##FFFFFF
##48278B1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#334056
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48278b;
/* rgb */ color: rgb(72, 39, 139);
/* oklch */ color: oklch(37.8% 0.156 292.5);
Tailwind
colors: {
  custom: {
    50: '#8264ae',
    500: '#48278b',
    950: '#000000',
  },
}
SCSS
$custom: #48278b;
$custom-light: #8264ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48278b",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 259.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37801,
    "c": 0.15557,
    "h": 292.5
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#48278B
secondary
#97B658
accent
#DF48AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48278B

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

Preview Lab → · Contrast checker → · Palette generator →

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