#48279F#48279F

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

Color values

HEX#48279F
RGBrgb(72, 39, 159)
HSLhsl(257, 61%, 39%)
HSVhsv(257, 75%, 62%)
CMYKcmyk(54.7%, 75.5%, 0%, 37.6%)
CIE-LABlab(27.66, 45.10, -59.49)
CIE-LCHlch(27.66, 74.66, 307.17°)
OKLaboklab(39.65% 0.0549 -0.1711)
OKLCHoklch(39.65% 0.18 287.8)
XYZxyz(9.6542, 5.3315, 33.3145)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48279F #7E9F27
analogous
#27429F #48279F #84279F
triadic
#48279F #9F4827 #279F48
tetradic
#48279F #9F2742 #7E9F27 #279F84
square
#48279F #9F2742 #7E9F27 #279F84
split-complementary
#48279F #9F8427 #429F27
monochromatic
#1B0F3D #321B6E #48279F #5F36CE #8667DA

Accessibility & contrast

On white

10.16
#48279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#48279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48279F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48279F#FFFFFF#000000##FFFFFF
##48279F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#244861
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48279f;
/* rgb */ color: rgb(72, 39, 159);
/* oklch */ color: oklch(39.6% 0.180 287.8);
Tailwind
colors: {
  custom: {
    50: '#8565bc',
    500: '#48279f',
    950: '#000000',
  },
}
SCSS
$custom: #48279f;
$custom-light: #8565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48279f",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 256.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.1797,
    "h": 287.8
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#48279F
secondary
#A6C062
accent
#E444B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48279F

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

Preview Lab → · Contrast checker → · Palette generator →

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