#48259C#48259C

#48259C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.178 H 288.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#48259C
RGBrgb(72, 37, 156)
HSLhsl(258, 62%, 38%)
HSVhsv(258, 76%, 61%)
CMYKcmyk(53.8%, 76.3%, 0%, 38.8%)
CIE-LABlab(27.02, 45.24, -58.72)
CIE-LCHlch(27.02, 74.12, 307.62°)
OKLaboklab(39.11% 0.0572 -0.1688)
OKLCHoklch(39.11% 0.178 288.7)
XYZxyz(9.3330, 5.1007, 31.9388)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48259C #799C25
analogous
#253D9C #48259C #83259C
triadic
#48259C #9C4825 #259C48
tetradic
#48259C #9C253D #799C25 #259C83
square
#48259C #9C253D #799C25 #259C83
split-complementary
#48259C #9C8325 #3D9C25
monochromatic
#1A0E39 #31196B #48259C #5F31CD #8562DA

Accessibility & contrast

On white

10.40
#48259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#48259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48259C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48259C#FFFFFF#000000##FFFFFF
##48259C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#27465F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48259c;
/* rgb */ color: rgb(72, 37, 156);
/* oklch */ color: oklch(39.1% 0.178 288.7);
Tailwind
colors: {
  custom: {
    50: '#8464ba',
    500: '#48259c',
    950: '#000000',
  },
}
SCSS
$custom: #48259c;
$custom-light: #8464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48259c",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 257.647,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.17826,
    "h": 288.7
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #48259C

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

Preview Lab → · Contrast checker → · Palette generator →

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