#48258B#48258B

#48258B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.158 H 292.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#48258B
RGBrgb(72, 37, 139)
HSLhsl(261, 58%, 35%)
HSVhsv(261, 73%, 55%)
CMYKcmyk(48.2%, 73.4%, 0%, 45.5%)
CIE-LABlab(25.46, 40.37, -50.80)
CIE-LCHlch(25.46, 64.88, 308.47°)
OKLaboklab(37.53% 0.0614 -0.1456)
OKLCHoklch(37.53% 0.158 292.9)
XYZxyz(7.9930, 4.5647, 24.8810)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48258B #688B25
analogous
#25358B #48258B #7B258B
triadic
#48258B #8B4825 #258B48
tetradic
#48258B #8B2535 #688B25 #258B7B
square
#48258B #8B2535 #688B25 #258B7B
split-complementary
#48258B #8B7B25 #358B25
monochromatic
#160B2A #2F185B #48258B #6132BB #8258D3

Accessibility & contrast

On white

10.98
#48258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#48258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48258B
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48258B#FFFFFF#000000##FFFFFF
##48258B1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#343F55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48258b;
/* rgb */ color: rgb(72, 37, 139);
/* oklch */ color: oklch(37.5% 0.158 292.9);
Tailwind
colors: {
  custom: {
    50: '#8263ae',
    500: '#48258b',
    950: '#000000',
  },
}
SCSS
$custom: #48258b;
$custom-light: #8263ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48258b",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 260.588,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37529,
    "c": 0.15802,
    "h": 292.9
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#48258B
secondary
#95B755
accent
#E147AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48258B

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

Preview Lab → · Contrast checker → · Palette generator →

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