#48279A#48279A

#48279A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.174 H 288.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#48279A
RGBrgb(72, 39, 154)
HSLhsl(257, 60%, 38%)
HSVhsv(257, 75%, 60%)
CMYKcmyk(53.2%, 74.7%, 0%, 39.6%)
CIE-LABlab(27.19, 43.65, -57.21)
CIE-LCHlch(27.19, 71.96, 307.34°)
OKLaboklab(39.17% 0.0561 -0.1644)
OKLCHoklch(39.17% 0.174 288.8)
XYZxyz(9.2290, 5.1614, 31.0755)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48279A #799A27
analogous
#27409A #48279A #81279A
triadic
#48279A #9A4827 #279A48
tetradic
#48279A #9A2740 #799A27 #279A81
square
#48279A #9A2740 #799A27 #279A81
split-complementary
#48279A #9A8127 #409A27
monochromatic
#1A0E38 #311B69 #48279A #5F33CB #8564D8

Accessibility & contrast

On white

10.33
#48279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#48279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48279A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48279A#FFFFFF#000000##FFFFFF
##48279A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#29465E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48279a;
/* rgb */ color: rgb(72, 39, 154);
/* oklch */ color: oklch(39.2% 0.174 288.8);
Tailwind
colors: {
  custom: {
    50: '#8465b9',
    500: '#48279a',
    950: '#000000',
  },
}
SCSS
$custom: #48279a;
$custom-light: #8465b9;
$custom-dark: #000000;
JSON
{
  "hex": "#48279a",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 257.217,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.17375,
    "h": 288.8
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#48279A
secondary
#A2BD5F
accent
#E345B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48279A

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

Preview Lab → · Contrast checker → · Palette generator →

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