#48276F#48276F

#48276F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.5% C 0.120 H 301.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#48276F
RGBrgb(72, 39, 111)
HSLhsl(268, 48%, 29%)
HSVhsv(268, 65%, 44%)
CMYKcmyk(35.1%, 64.9%, 0%, 56.5%)
CIE-LABlab(23.59, 31.33, -36.10)
CIE-LCHlch(23.59, 47.80, 310.95°)
OKLaboklab(35.48% 0.0631 -0.1024)
OKLCHoklch(35.48% 0.12 301.6)
XYZxyz(6.2666, 3.9764, 15.4732)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48276F #4E6F27
analogous
#272A6F #48276F #6C276F
triadic
#48276F #6F4827 #276F48
tetradic
#48276F #6F272A #4E6F27 #276F6C
square
#48276F #6F272A #4E6F27 #276F6C
split-complementary
#48276F #6F6C27 #2A6F27
monochromatic
#0F0817 #2B1742 #48276F #65379C #834FC1

Accessibility & contrast

On white

11.70
#48276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#48276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48276F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48276F#FFFFFF#000000##FFFFFF
##48276F1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#10386D
Tritanopia (blue-blind)
#403647
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48276f;
/* rgb */ color: rgb(72, 39, 111);
/* oklch */ color: oklch(35.5% 0.120 301.6);
Tailwind
colors: {
  custom: {
    50: '#7e6399',
    500: '#48276f',
    950: '#000000',
  },
}
SCSS
$custom: #48276f;
$custom-light: #7e6399;
$custom-dark: #000000;
JSON
{
  "hex": "#48276f",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 267.5,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35479,
    "c": 0.12031,
    "h": 301.6
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#48276F
secondary
#7CA250
accent
#D8509A
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #48276F

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

Preview Lab → · Contrast checker → · Palette generator →

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