#48279E#48279E

#48279E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.179 H 288.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#48279E
RGBrgb(72, 39, 158)
HSLhsl(257, 60%, 39%)
HSVhsv(257, 75%, 62%)
CMYKcmyk(54.4%, 75.3%, 0%, 38%)
CIE-LABlab(27.56, 44.81, -59.04)
CIE-LCHlch(27.56, 74.12, 307.20°)
OKLaboklab(39.55% 0.0551 -0.1698)
OKLCHoklch(39.55% 0.179 288)
XYZxyz(9.5677, 5.2969, 32.8594)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48279E #7D9E27
analogous
#27419E #48279E #83279E
triadic
#48279E #9E4827 #279E48
tetradic
#48279E #9E2741 #7D9E27 #279E83
square
#48279E #9E2741 #7D9E27 #279E83
split-complementary
#48279E #9E8327 #419E27
monochromatic
#1B0F3C #321B6D #48279E #5F35CD #8666D9

Accessibility & contrast

On white

10.20
#48279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#48279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48279E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48279E#FFFFFF#000000##FFFFFF
##48279E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#254860
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48279e;
/* rgb */ color: rgb(72, 39, 158);
/* oklch */ color: oklch(39.6% 0.179 288.0);
Tailwind
colors: {
  custom: {
    50: '#8565bc',
    500: '#48279e',
    950: '#000000',
  },
}
SCSS
$custom: #48279e;
$custom-light: #8565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48279e",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 256.639,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.17851,
    "h": 288
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#48279E
secondary
#A5BF62
accent
#E444B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48279E

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

Preview Lab → · Contrast checker → · Palette generator →

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