#48259A#48259A

#48259A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.176 H 289.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#48259A
RGBrgb(72, 37, 154)
HSLhsl(258, 61%, 37%)
HSVhsv(258, 76%, 60%)
CMYKcmyk(53.2%, 76%, 0%, 39.6%)
CIE-LABlab(26.83, 44.67, -57.80)
CIE-LCHlch(26.83, 73.05, 307.70°)
OKLaboklab(38.92% 0.0578 -0.1661)
OKLCHoklch(38.92% 0.176 289.2)
XYZxyz(9.1651, 5.0335, 31.0542)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48259A #779A25
analogous
#253C9A #48259A #83259A
triadic
#48259A #9A4825 #259A48
tetradic
#48259A #9A253C #779A25 #259A83
square
#48259A #9A253C #779A25 #259A83
split-complementary
#48259A #9A8325 #3C9A25
monochromatic
#1A0D37 #311969 #48259A #5F31CB #8560D9

Accessibility & contrast

On white

10.46
#48259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48259A
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48259A#FFFFFF#000000##FFFFFF
##48259A1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#29455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48259a;
/* rgb */ color: rgb(72, 37, 154);
/* oklch */ color: oklch(38.9% 0.176 289.2);
Tailwind
colors: {
  custom: {
    50: '#8463b9',
    500: '#48259a',
    950: '#000000',
  },
}
SCSS
$custom: #48259a;
$custom-light: #8463b9;
$custom-dark: #000000;
JSON
{
  "hex": "#48259a",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 257.949,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.17591,
    "h": 289.2
  },
  "luminance": 0.05034
}

Semantic roles & 50–950 ramp

primary
#48259A
secondary
#A1BE5D
accent
#E443B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48259A

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

Preview Lab → · Contrast checker → · Palette generator →

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