#48279D#48279D

#48279D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.177 H 288.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#48279D
RGBrgb(72, 39, 157)
HSLhsl(257, 60%, 38%)
HSVhsv(257, 75%, 62%)
CMYKcmyk(54.1%, 75.2%, 0%, 38.4%)
CIE-LABlab(27.47, 44.52, -58.59)
CIE-LCHlch(27.47, 73.58, 307.23°)
OKLaboklab(39.46% 0.0554 -0.1685)
OKLCHoklch(39.46% 0.177 288.2)
XYZxyz(9.4820, 5.2626, 32.4079)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48279D #7C9D27
analogous
#27419D #48279D #83279D
triadic
#48279D #9D4827 #279D48
tetradic
#48279D #9D2741 #7C9D27 #279D83
square
#48279D #9D2741 #7C9D27 #279D83
split-complementary
#48279D #9D8327 #419D27
monochromatic
#1B0F3B #321B6C #48279D #5F35CD #8666D9

Accessibility & contrast

On white

10.23
#48279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#48279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48279D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48279D#FFFFFF#000000##FFFFFF
##48279D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#264760
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48279d;
/* rgb */ color: rgb(72, 39, 157);
/* oklch */ color: oklch(39.5% 0.177 288.2);
Tailwind
colors: {
  custom: {
    50: '#8465bb',
    500: '#48279d',
    950: '#000000',
  },
}
SCSS
$custom: #48279d;
$custom-light: #8465bb;
$custom-dark: #000000;
JSON
{
  "hex": "#48279d",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 256.78,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.17732,
    "h": 288.2
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#48279D
secondary
#A5BF61
accent
#E344B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48279D

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

Preview Lab → · Contrast checker → · Palette generator →

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