#48299A#48299A

#48299A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.172 H 288.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#48299A
RGBrgb(72, 41, 154)
HSLhsl(256, 58%, 38%)
HSVhsv(256, 73%, 60%)
CMYKcmyk(53.2%, 73.4%, 0%, 39.6%)
CIE-LABlab(27.56, 42.60, -56.60)
CIE-LCHlch(27.56, 70.84, 306.97°)
OKLaboklab(39.44% 0.0544 -0.1627)
OKLCHoklch(39.44% 0.172 288.5)
XYZxyz(9.2965, 5.2962, 31.0980)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48299A #7B9A29
analogous
#29429A #48299A #80299A
triadic
#48299A #9A4829 #299A48
tetradic
#48299A #9A2942 #7B9A29 #299A80
square
#48299A #9A2942 #7B9A29 #299A80
split-complementary
#48299A #9A8029 #429A29
monochromatic
#1B0F39 #311C6A #48299A #5F37CA #8667D7

Accessibility & contrast

On white

10.20
#48299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#48299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48299A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48299A#FFFFFF#000000##FFFFFF
##48299A1.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)
#00439D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#29475F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48299a;
/* rgb */ color: rgb(72, 41, 154);
/* oklch */ color: oklch(39.4% 0.172 288.5);
Tailwind
colors: {
  custom: {
    50: '#8466b9',
    500: '#48299a',
    950: '#000000',
  },
}
SCSS
$custom: #48299a;
$custom-light: #8466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#48299a",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 256.46,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.17151,
    "h": 288.5
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#48299A
secondary
#A4BD62
accent
#E147B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48299A

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

Preview Lab → · Contrast checker → · Palette generator →

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