#48299B#48299B

#48299B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.173 H 288.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#48299B
RGBrgb(72, 41, 155)
HSLhsl(256, 58%, 38%)
HSVhsv(256, 74%, 61%)
CMYKcmyk(53.5%, 73.5%, 0%, 39.2%)
CIE-LABlab(27.65, 42.90, -57.06)
CIE-LCHlch(27.65, 71.39, 306.93°)
OKLaboklab(39.53% 0.0542 -0.164)
OKLCHoklch(39.53% 0.173 288.3)
XYZxyz(9.3801, 5.3297, 31.5385)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48299B #7C9B29
analogous
#29439B #48299B #81299B
triadic
#48299B #9B4829 #299B48
tetradic
#48299B #9B2943 #7C9B29 #299B81
square
#48299B #9B2943 #7C9B29 #299B81
split-complementary
#48299B #9B8129 #439B29
monochromatic
#1B0F3A #321C6B #48299B #5F37CA #8667D7

Accessibility & contrast

On white

10.16
#48299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#48299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48299B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48299B#FFFFFF#000000##FFFFFF
##48299B1.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)
#00449E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#28485F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48299b;
/* rgb */ color: rgb(72, 41, 155);
/* oklch */ color: oklch(39.5% 0.173 288.3);
Tailwind
colors: {
  custom: {
    50: '#8466b9',
    500: '#48299b',
    950: '#000000',
  },
}
SCSS
$custom: #48299b;
$custom-light: #8466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#48299b",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 256.316,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.17272,
    "h": 288.3
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#48299B
secondary
#A5BD63
accent
#E146B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48299B

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

Preview Lab → · Contrast checker → · Palette generator →

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