#48249E#48249E

#48249E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.182 H 288.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#48249E
RGBrgb(72, 36, 158)
HSLhsl(258, 63%, 38%)
HSVhsv(258, 77%, 62%)
CMYKcmyk(54.4%, 77.2%, 0%, 38%)
CIE-LABlab(27.04, 46.31, -59.90)
CIE-LCHlch(27.04, 75.72, 307.71°)
OKLaboklab(39.18% 0.0575 -0.1723)
OKLCHoklch(39.18% 0.182 288.4)
XYZxyz(9.4731, 5.1076, 32.8278)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48249E #7A9E24
analogous
#243D9E #48249E #85249E
triadic
#48249E #9E4824 #249E48
tetradic
#48249E #9E243D #7A9E24 #249E85
square
#48249E #9E243D #7A9E24 #249E85
split-complementary
#48249E #9E8524 #3D9E24
monochromatic
#1B0D3A #31196C #48249E #5F2FD0 #8561DB

Accessibility & contrast

On white

10.39
#48249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#48249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48249E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48249E#FFFFFF#000000##FFFFFF
##48249E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#254660
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48249e;
/* rgb */ color: rgb(72, 36, 158);
/* oklch */ color: oklch(39.2% 0.182 288.4);
Tailwind
colors: {
  custom: {
    50: '#8563bc',
    500: '#48249e',
    950: '#000000',
  },
}
SCSS
$custom: #48249e;
$custom-light: #8563bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48249e",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 257.705,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39183,
    "c": 0.18162,
    "h": 288.4
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#48249E
secondary
#A3C05E
accent
#E642B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48249E

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

Preview Lab → · Contrast checker → · Palette generator →

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