#48257D#48257D

#48257D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.141 H 297.0°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#48257D
RGBrgb(72, 37, 125)
HSLhsl(264, 54%, 32%)
HSVhsv(264, 70%, 49%)
CMYKcmyk(42.4%, 70.4%, 0%, 51%)
CIE-LABlab(24.26, 36.39, -43.96)
CIE-LCHlch(24.26, 57.06, 309.62°)
OKLaboklab(36.31% 0.0641 -0.1255)
OKLCHoklch(36.31% 0.141 297)
XYZxyz(7.0348, 4.1814, 19.8345)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48257D #5A7D25
analogous
#252E7D #48257D #74257D
triadic
#48257D #7D4825 #257D48
tetradic
#48257D #7D252E #5A7D25 #257D74
square
#48257D #7D252E #5A7D25 #257D74
split-complementary
#48257D #7D7425 #2E7D25
monochromatic
#12091F #2D174E #48257D #6333AC #8251CB

Accessibility & contrast

On white

11.44
#48257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#48257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48257D
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48257D#FFFFFF#000000##FFFFFF
##48257D1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#3B3A4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48257d;
/* rgb */ color: rgb(72, 37, 125);
/* oklch */ color: oklch(36.3% 0.141 297.0);
Tailwind
colors: {
  custom: {
    50: '#8062a3',
    500: '#48257d',
    950: '#000000',
  },
}
SCSS
$custom: #48257d;
$custom-light: #8062a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48257d",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 263.864,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36305,
    "c": 0.14091,
    "h": 297
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#48257D
secondary
#89AF4F
accent
#DE4AA3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48257D

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

Preview Lab → · Contrast checker → · Palette generator →

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