#48299E#48299E

#48299E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.176 H 287.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#48299E
RGBrgb(72, 41, 158)
HSLhsl(256, 59%, 39%)
HSVhsv(256, 74%, 62%)
CMYKcmyk(54.4%, 74.1%, 0%, 38%)
CIE-LABlab(27.93, 43.78, -58.44)
CIE-LCHlch(27.93, 73.02, 306.84°)
OKLaboklab(39.81% 0.0535 -0.168)
OKLCHoklch(39.81% 0.176 287.6)
XYZxyz(9.6352, 5.4317, 32.8819)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48299E #7F9E29
analogous
#29459E #48299E #83299E
triadic
#48299E #9E4829 #299E48
tetradic
#48299E #9E2945 #7F9E29 #299E83
square
#48299E #9E2945 #7F9E29 #299E83
split-complementary
#48299E #9E8329 #459E29
monochromatic
#1C103D #321C6D #48299E #6039CC #8769D8

Accessibility & contrast

On white

10.07
#48299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48299E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48299E#FFFFFF#000000##FFFFFF
##48299E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#254961
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #48299e;
/* rgb */ color: rgb(72, 41, 158);
/* oklch */ color: oklch(39.8% 0.176 287.6);
Tailwind
colors: {
  custom: {
    50: '#8466bc',
    500: '#48299e',
    950: '#000000',
  },
}
SCSS
$custom: #48299e;
$custom-light: #8466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48299e",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 255.897,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39811,
    "c": 0.17634,
    "h": 287.6
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#48299E
secondary
#A7BF64
accent
#E246B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48299E

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

Preview Lab → · Contrast checker → · Palette generator →

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