#48259F#48259F

#48259F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.182 H 288.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#48259F
RGBrgb(72, 37, 159)
HSLhsl(257, 62%, 38%)
HSVhsv(257, 77%, 62%)
CMYKcmyk(54.7%, 76.7%, 0%, 37.6%)
CIE-LABlab(27.31, 46.10, -60.07)
CIE-LCHlch(27.31, 75.73, 307.51°)
OKLaboklab(39.4% 0.0564 -0.1728)
OKLCHoklch(39.4% 0.182 288.1)
XYZxyz(9.5902, 5.2036, 33.2932)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48259F #7C9F25
analogous
#253F9F #48259F #85259F
triadic
#48259F #9F4825 #259F48
tetradic
#48259F #9F253F #7C9F25 #259F85
square
#48259F #9F253F #7C9F25 #259F85
split-complementary
#48259F #9F8525 #3F9F25
monochromatic
#1B0E3C #32196D #48259F #5F32CF #8664DB

Accessibility & contrast

On white

10.29
#48259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#48259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48259F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48259F#FFFFFF#000000##FFFFFF
##48259F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#244761
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48259f;
/* rgb */ color: rgb(72, 37, 159);
/* oklch */ color: oklch(39.4% 0.182 288.1);
Tailwind
colors: {
  custom: {
    50: '#8564bc',
    500: '#48259f',
    950: '#000000',
  },
}
SCSS
$custom: #48259f;
$custom-light: #8564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48259f",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 257.213,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.394,
    "c": 0.18177,
    "h": 288.1
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#48259F
secondary
#A5C05F
accent
#E542B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48259F

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

Preview Lab → · Contrast checker → · Palette generator →

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