#48276A#48276A

#48276A is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.1% C 0.114 H 303.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#48276A
RGBrgb(72, 39, 106)
HSLhsl(270, 46%, 28%)
HSVhsv(270, 63%, 42%)
CMYKcmyk(32.1%, 63.2%, 0%, 58.4%)
CIE-LABlab(23.23, 29.96, -33.45)
CIE-LCHlch(23.23, 44.91, 311.85°)
OKLaboklab(35.1% 0.0633 -0.0946)
OKLCHoklch(35.1% 0.114 303.8)
XYZxyz(5.9989, 3.8694, 14.0637)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48276A #496A27
analogous
#27276A #48276A #69276A
triadic
#48276A #6A4827 #276A48
tetradic
#48276A #6A2727 #496A27 #276A69
square
#48276A #6A2727 #496A27 #276A69
split-complementary
#48276A #6A6927 #276A27
monochromatic
#0F0816 #2A173D #48276A #663797 #854EBE

Accessibility & contrast

On white

11.84
#48276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#48276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48276A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48276A#FFFFFF#000000##FFFFFF
##48276A1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376C
Deuteranopia (green-blind)
#173768
Tritanopia (blue-blind)
#423544
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #48276a;
/* rgb */ color: rgb(72, 39, 106);
/* oklch */ color: oklch(35.1% 0.114 303.8);
Tailwind
colors: {
  custom: {
    50: '#7e6395',
    500: '#48276a',
    950: '#000000',
  },
}
SCSS
$custom: #48276a;
$custom-light: #7e6395;
$custom-dark: #000000;
JSON
{
  "hex": "#48276a",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 269.552,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35104,
    "c": 0.11386,
    "h": 303.8
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#48276A
secondary
#779D50
accent
#D65295
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #48276A

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

Preview Lab → · Contrast checker → · Palette generator →

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