#48258A#48258A

#48258A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.157 H 293.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#48258A
RGBrgb(72, 37, 138)
HSLhsl(261, 58%, 34%)
HSVhsv(261, 73%, 54%)
CMYKcmyk(47.8%, 73.2%, 0%, 45.9%)
CIE-LABlab(25.37, 40.08, -50.32)
CIE-LCHlch(25.37, 64.33, 308.54°)
OKLaboklab(37.44% 0.0616 -0.1442)
OKLCHoklch(37.44% 0.157 293.1)
XYZxyz(7.9202, 4.5356, 24.4980)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48258A #678A25
analogous
#25358A #48258A #7B258A
triadic
#48258A #8A4825 #258A48
tetradic
#48258A #8A2535 #678A25 #258A7B
square
#48258A #8A2535 #678A25 #258A7B
split-complementary
#48258A #8A7B25 #358A25
monochromatic
#160B29 #2F185A #48258A #6132BA #8257D2

Accessibility & contrast

On white

11.01
#48258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48258A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48258A#FFFFFF#000000##FFFFFF
##48258A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48258a;
/* rgb */ color: rgb(72, 37, 138);
/* oklch */ color: oklch(37.4% 0.157 293.1);
Tailwind
colors: {
  custom: {
    50: '#8263ad',
    500: '#48258a',
    950: '#000000',
  },
}
SCSS
$custom: #48258a;
$custom-light: #8263ad;
$custom-dark: #000000;
JSON
{
  "hex": "#48258a",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 260.792,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37439,
    "c": 0.15681,
    "h": 293.1
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#48258A
secondary
#94B754
accent
#E147AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48258A

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

Preview Lab → · Contrast checker → · Palette generator →

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