#48249F#48249F

#48249F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.183 H 288.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#48249F
RGBrgb(72, 36, 159)
HSLhsl(258, 63%, 38%)
HSVhsv(258, 77%, 62%)
CMYKcmyk(54.7%, 77.4%, 0%, 37.6%)
CIE-LABlab(27.14, 46.59, -60.35)
CIE-LCHlch(27.14, 76.25, 307.67°)
OKLaboklab(39.28% 0.0572 -0.1736)
OKLCHoklch(39.28% 0.183 288.2)
XYZxyz(9.5595, 5.1422, 33.2830)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48249F #7B9F24
analogous
#243D9F #48249F #85249F
triadic
#48249F #9F4824 #249F48
tetradic
#48249F #9F243D #7B9F24 #249F85
square
#48249F #9F243D #7B9F24 #249F85
split-complementary
#48249F #9F8524 #3D9F24
monochromatic
#1B0D3B #31196D #48249F #5F30D0 #8662DB

Accessibility & contrast

On white

10.35
#48249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#48249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48249F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48249F#FFFFFF#000000##FFFFFF
##48249F1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#244760
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48249f;
/* rgb */ color: rgb(72, 36, 159);
/* oklch */ color: oklch(39.3% 0.183 288.2);
Tailwind
colors: {
  custom: {
    50: '#8563bc',
    500: '#48249f',
    950: '#000000',
  },
}
SCSS
$custom: #48249f;
$custom-light: #8563bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48249f",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 257.561,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.18278,
    "h": 288.2
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#48249F
secondary
#A4C15E
accent
#E642B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48249F

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

Preview Lab → · Contrast checker → · Palette generator →

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