#48249C#48249C

#48249C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.179 H 288.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#48249C
RGBrgb(72, 36, 156)
HSLhsl(258, 63%, 38%)
HSVhsv(258, 77%, 61%)
CMYKcmyk(53.8%, 76.9%, 0%, 38.8%)
CIE-LABlab(26.85, 45.74, -59.00)
CIE-LCHlch(26.85, 74.65, 307.78°)
OKLaboklab(38.99% 0.058 -0.1696)
OKLCHoklch(38.99% 0.179 288.9)
XYZxyz(9.3024, 5.0393, 31.9286)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48249C #789C24
analogous
#243C9C #48249C #84249C
triadic
#48249C #9C4824 #249C48
tetradic
#48249C #9C243C #789C24 #249C84
square
#48249C #9C243C #789C24 #249C84
split-complementary
#48249C #9C8424 #3C9C24
monochromatic
#1A0D39 #31196A #48249C #5F2FCE #8560DA

Accessibility & contrast

On white

10.46
#48249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#48249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48249C
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48249C#FFFFFF#000000##FFFFFF
##48249C1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#27465F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48249c;
/* rgb */ color: rgb(72, 36, 156);
/* oklch */ color: oklch(39.0% 0.179 288.9);
Tailwind
colors: {
  custom: {
    50: '#8463ba',
    500: '#48249c',
    950: '#000000',
  },
}
SCSS
$custom: #48249c;
$custom-light: #8463ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48249c",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 258,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.1793,
    "h": 288.9
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#48249C
secondary
#A2BF5C
accent
#E642B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48249C

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

Preview Lab → · Contrast checker → · Palette generator →

#48249C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva