#48259B#48259B

#48259B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.177 H 288.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#48259B
RGBrgb(72, 37, 155)
HSLhsl(258, 61%, 38%)
HSVhsv(258, 76%, 61%)
CMYKcmyk(53.5%, 76.1%, 0%, 39.2%)
CIE-LABlab(26.92, 44.96, -58.26)
CIE-LCHlch(26.92, 73.59, 307.66°)
OKLaboklab(39.02% 0.0575 -0.1675)
OKLCHoklch(39.02% 0.177 288.9)
XYZxyz(9.2487, 5.0670, 31.4947)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48259B #789B25
analogous
#253D9B #48259B #83259B
triadic
#48259B #9B4825 #259B48
tetradic
#48259B #9B253D #789B25 #259B83
square
#48259B #9B253D #789B25 #259B83
split-complementary
#48259B #9B8325 #3D9B25
monochromatic
#1A0D38 #31196A #48259B #5F31CC #8561D9

Accessibility & contrast

On white

10.43
#48259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#48259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48259B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48259B#FFFFFF#000000##FFFFFF
##48259B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#28465E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48259b;
/* rgb */ color: rgb(72, 37, 155);
/* oklch */ color: oklch(39.0% 0.177 288.9);
Tailwind
colors: {
  custom: {
    50: '#8464ba',
    500: '#48259b',
    950: '#000000',
  },
}
SCSS
$custom: #48259b;
$custom-light: #8464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48259b",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 257.797,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.17709,
    "h": 288.9
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#48259B
secondary
#A2BF5D
accent
#E543B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48259B

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

Preview Lab → · Contrast checker → · Palette generator →

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