#48249B#48249B

#48249B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.178 H 289.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#48249B
RGBrgb(72, 36, 155)
HSLhsl(258, 62%, 37%)
HSVhsv(258, 77%, 61%)
CMYKcmyk(53.5%, 76.8%, 0%, 39.2%)
CIE-LABlab(26.75, 45.45, -58.55)
CIE-LCHlch(26.75, 74.12, 307.82°)
OKLaboklab(38.89% 0.0583 -0.1683)
OKLCHoklch(38.89% 0.178 289.1)
XYZxyz(9.2180, 5.0056, 31.4845)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48249B #779B24
analogous
#243C9B #48249B #83249B
triadic
#48249B #9B4824 #249B48
tetradic
#48249B #9B243C #779B24 #249B83
square
#48249B #9B243C #779B24 #249B83
split-complementary
#48249B #9B8324 #3C9B24
monochromatic
#1A0D38 #311869 #48249B #5F30CD #855FDA

Accessibility & contrast

On white

10.49
#48249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#48249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48249B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48249B#FFFFFF#000000##FFFFFF
##48249B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#28455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48249b;
/* rgb */ color: rgb(72, 36, 155);
/* oklch */ color: oklch(38.9% 0.178 289.1);
Tailwind
colors: {
  custom: {
    50: '#8463ba',
    500: '#48249b',
    950: '#000000',
  },
}
SCSS
$custom: #48249b;
$custom-light: #8463ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48249b",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 258.151,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38893,
    "c": 0.17813,
    "h": 289.1
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#48249B
secondary
#A1BF5C
accent
#E542B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48249B

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

Preview Lab → · Contrast checker → · Palette generator →

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