#48299D#48299D

#48299D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.175 H 287.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#48299D
RGBrgb(72, 41, 157)
HSLhsl(256, 59%, 39%)
HSVhsv(256, 74%, 62%)
CMYKcmyk(54.1%, 73.9%, 0%, 38.4%)
CIE-LABlab(27.84, 43.48, -57.98)
CIE-LCHlch(27.84, 72.48, 306.87°)
OKLaboklab(39.72% 0.0537 -0.1667)
OKLCHoklch(39.72% 0.175 287.9)
XYZxyz(9.5494, 5.3974, 32.4304)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48299D #7E9D29
analogous
#29449D #48299D #82299D
triadic
#48299D #9D4829 #299D48
tetradic
#48299D #9D2944 #7E9D29 #299D82
square
#48299D #9D2944 #7E9D29 #299D82
split-complementary
#48299D #9D8229 #449D29
monochromatic
#1B103C #321C6C #48299D #5F38CB #8669D8

Accessibility & contrast

On white

10.10
#48299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#48299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48299D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48299D#FFFFFF#000000##FFFFFF
##48299D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#264860
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #48299d;
/* rgb */ color: rgb(72, 41, 157);
/* oklch */ color: oklch(39.7% 0.175 287.9);
Tailwind
colors: {
  custom: {
    50: '#8466bb',
    500: '#48299d',
    950: '#000000',
  },
}
SCSS
$custom: #48299d;
$custom-light: #8466bb;
$custom-dark: #000000;
JSON
{
  "hex": "#48299d",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 256.034,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39717,
    "c": 0.17513,
    "h": 287.9
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#48299D
secondary
#A6BE64
accent
#E246B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48299D

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

Preview Lab → · Contrast checker → · Palette generator →

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