#48299F#48299F

#48299F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.178 H 287.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#48299F
RGBrgb(72, 41, 159)
HSLhsl(256, 59%, 39%)
HSVhsv(256, 74%, 62%)
CMYKcmyk(54.7%, 74.2%, 0%, 37.6%)
CIE-LABlab(28.02, 44.07, -58.90)
CIE-LCHlch(28.02, 73.56, 306.81°)
OKLaboklab(39.91% 0.0532 -0.1694)
OKLCHoklch(39.91% 0.178 287.4)
XYZxyz(9.7216, 5.4663, 33.3370)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48299F #809F29
analogous
#29459F #48299F #83299F
triadic
#48299F #9F4829 #299F48
tetradic
#48299F #9F2945 #809F29 #299F83
square
#48299F #9F2945 #809F29 #299F83
split-complementary
#48299F #9F8329 #459F29
monochromatic
#1C103E #321C6E #48299F #6039CC #876AD9

Accessibility & contrast

On white

10.03
#48299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#48299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48299F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48299F#FFFFFF#000000##FFFFFF
##48299F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#244962
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #48299f;
/* rgb */ color: rgb(72, 41, 159);
/* oklch */ color: oklch(39.9% 0.178 287.4);
Tailwind
colors: {
  custom: {
    50: '#8566bc',
    500: '#48299f',
    950: '#000000',
  },
}
SCSS
$custom: #48299f;
$custom-light: #8566bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48299f",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 255.763,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.17754,
    "h": 287.4
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#48299F
secondary
#A7BF65
accent
#E246B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48299F

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

Preview Lab → · Contrast checker → · Palette generator →

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