#48276E#48276E

#48276E is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.119 H 302.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#48276E
RGBrgb(72, 39, 110)
HSLhsl(268, 48%, 29%)
HSVhsv(268, 65%, 43%)
CMYKcmyk(34.5%, 64.5%, 0%, 56.9%)
CIE-LABlab(23.52, 31.05, -35.58)
CIE-LCHlch(23.52, 47.22, 311.12°)
OKLaboklab(35.4% 0.0632 -0.1009)
OKLCHoklch(35.4% 0.119 302.1)
XYZxyz(6.2118, 3.9545, 15.1849)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48276E #4D6E27
analogous
#272A6E #48276E #6C276E
triadic
#48276E #6E4827 #276E48
tetradic
#48276E #6E272A #4D6E27 #276E6C
square
#48276E #6E272A #4D6E27 #276E6C
split-complementary
#48276E #6E6C27 #2A6E27
monochromatic
#0F0817 #2A1741 #48276E #66379B #844FC1

Accessibility & contrast

On white

11.73
#48276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#48276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48276E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48276E#FFFFFF#000000##FFFFFF
##48276E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#11386C
Tritanopia (blue-blind)
#403646
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48276e;
/* rgb */ color: rgb(72, 39, 110);
/* oklch */ color: oklch(35.4% 0.119 302.1);
Tailwind
colors: {
  custom: {
    50: '#7e6398',
    500: '#48276e',
    950: '#000000',
  },
}
SCSS
$custom: #48276e;
$custom-light: #7e6398;
$custom-dark: #000000;
JSON
{
  "hex": "#48276e",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 267.887,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35403,
    "c": 0.11904,
    "h": 302.1
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#48276E
secondary
#7BA150
accent
#D75199
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #48276E

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

Preview Lab → · Contrast checker → · Palette generator →

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