#48277D#48277D

#48277D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.138 H 296.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#48277D
RGBrgb(72, 39, 125)
HSLhsl(263, 52%, 32%)
HSVhsv(263, 69%, 49%)
CMYKcmyk(42.4%, 68.8%, 0%, 51%)
CIE-LABlab(24.67, 35.27, -43.30)
CIE-LCHlch(24.67, 55.84, 309.16°)
OKLaboklab(36.6% 0.0618 -0.1236)
OKLCHoklch(36.6% 0.138 296.6)
XYZxyz(7.0987, 4.3093, 19.8558)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48277D #5C7D27
analogous
#27317D #48277D #73277D
triadic
#48277D #7D4827 #277D48
tetradic
#48277D #7D2731 #5C7D27 #277D73
square
#48277D #7D2731 #5C7D27 #277D73
split-complementary
#48277D #7D7327 #317D27
monochromatic
#120A20 #2D184E #48277D #6336AC #8255CA

Accessibility & contrast

On white

11.28
#48277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#48277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48277D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48277D#FFFFFF#000000##FFFFFF
##48277D1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#3B3B4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48277d;
/* rgb */ color: rgb(72, 39, 125);
/* oklch */ color: oklch(36.6% 0.138 296.6);
Tailwind
colors: {
  custom: {
    50: '#8063a3',
    500: '#48277d',
    950: '#000000',
  },
}
SCSS
$custom: #48277d;
$custom-light: #8063a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48277d",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 263.023,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36597,
    "c": 0.13816,
    "h": 296.6
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#48277D
secondary
#8BAF51
accent
#DC4CA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #48277D

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

Preview Lab → · Contrast checker → · Palette generator →

#48277D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva