#48259E#48259E

#48259E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.181 H 288.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#48259E
RGBrgb(72, 37, 158)
HSLhsl(257, 62%, 38%)
HSVhsv(257, 77%, 62%)
CMYKcmyk(54.4%, 76.6%, 0%, 38%)
CIE-LABlab(27.21, 45.82, -59.62)
CIE-LCHlch(27.21, 75.19, 307.54°)
OKLaboklab(39.3% 0.0567 -0.1715)
OKLCHoklch(39.3% 0.181 288.3)
XYZxyz(9.5038, 5.1690, 32.8381)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48259E #7B9E25
analogous
#253F9E #48259E #84259E
triadic
#48259E #9E4825 #259E48
tetradic
#48259E #9E253F #7B9E25 #259E84
square
#48259E #9E253F #7B9E25 #259E84
split-complementary
#48259E #9E8425 #3F9E25
monochromatic
#1B0E3B #31196C #48259E #5F31CF #8663DA

Accessibility & contrast

On white

10.33
#48259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#48259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48259E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48259E#FFFFFF#000000##FFFFFF
##48259E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48259e;
/* rgb */ color: rgb(72, 37, 158);
/* oklch */ color: oklch(39.3% 0.181 288.3);
Tailwind
colors: {
  custom: {
    50: '#8564bc',
    500: '#48259e',
    950: '#000000',
  },
}
SCSS
$custom: #48259e;
$custom-light: #8564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48259e",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 257.355,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.1806,
    "h": 288.3
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#48259E
secondary
#A4C05F
accent
#E543B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48259E

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

Preview Lab → · Contrast checker → · Palette generator →

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