#48258D#48258D

#48258D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.160 H 292.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#48258D
RGBrgb(72, 37, 141)
HSLhsl(260, 58%, 35%)
HSVhsv(260, 74%, 55%)
CMYKcmyk(48.9%, 73.8%, 0%, 44.7%)
CIE-LABlab(25.63, 40.94, -51.75)
CIE-LCHlch(25.63, 65.98, 308.35°)
OKLaboklab(37.71% 0.061 -0.1484)
OKLCHoklch(37.71% 0.16 292.3)
XYZxyz(8.1404, 4.6237, 25.6577)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48258D #6A8D25
analogous
#25368D #48258D #7C258D
triadic
#48258D #8D4825 #258D48
tetradic
#48258D #8D2536 #6A8D25 #258D7C
square
#48258D #8D2536 #6A8D25 #258D7C
split-complementary
#48258D #8D7C25 #368D25
monochromatic
#160C2C #2F185D #48258D #6132BD #8259D3

Accessibility & contrast

On white

10.91
#48258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#48258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48258D
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48258D#FFFFFF#000000##FFFFFF
##48258D1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#324056
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48258d;
/* rgb */ color: rgb(72, 37, 141);
/* oklch */ color: oklch(37.7% 0.160 292.3);
Tailwind
colors: {
  custom: {
    50: '#8263af',
    500: '#48258d',
    950: '#000000',
  },
}
SCSS
$custom: #48258d;
$custom-light: #8263af;
$custom-dark: #000000;
JSON
{
  "hex": "#48258d",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 260.192,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.16043,
    "h": 292.3
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#48258D
secondary
#97B856
accent
#E246AD
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48258D

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

Preview Lab → · Contrast checker → · Palette generator →

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