#48279B#48279B

#48279B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.175 H 288.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#48279B
RGBrgb(72, 39, 155)
HSLhsl(257, 60%, 38%)
HSVhsv(257, 75%, 61%)
CMYKcmyk(53.5%, 74.8%, 0%, 39.2%)
CIE-LABlab(27.28, 43.94, -57.67)
CIE-LCHlch(27.28, 72.50, 307.30°)
OKLaboklab(39.27% 0.0559 -0.1658)
OKLCHoklch(39.27% 0.175 288.6)
XYZxyz(9.3127, 5.1949, 31.5160)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48279B #7A9B27
analogous
#27409B #48279B #82279B
triadic
#48279B #9B4827 #279B48
tetradic
#48279B #9B2740 #7A9B27 #279B82
square
#48279B #9B2740 #7A9B27 #279B82
split-complementary
#48279B #9B8227 #409B27
monochromatic
#1B0E39 #311B6A #48279B #5F33CC #8564D8

Accessibility & contrast

On white

10.30
#48279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#48279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48279B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48279B#FFFFFF#000000##FFFFFF
##48279B1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#28475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48279b;
/* rgb */ color: rgb(72, 39, 155);
/* oklch */ color: oklch(39.3% 0.175 288.6);
Tailwind
colors: {
  custom: {
    50: '#8465ba',
    500: '#48279b',
    950: '#000000',
  },
}
SCSS
$custom: #48279b;
$custom-light: #8465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48279b",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 257.069,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39268,
    "c": 0.17494,
    "h": 288.6
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#48279B
secondary
#A3BE60
accent
#E345B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48279B

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

Preview Lab → · Contrast checker → · Palette generator →

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