#48247D#48247D

#48247D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.142 H 297.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#48247D
RGBrgb(72, 36, 125)
HSLhsl(264, 55%, 32%)
HSVhsv(264, 71%, 49%)
CMYKcmyk(42.4%, 71.2%, 0%, 51%)
CIE-LABlab(24.06, 36.93, -44.28)
CIE-LCHlch(24.06, 57.66, 309.83°)
OKLaboklab(36.16% 0.0652 -0.1264)
OKLCHoklch(36.16% 0.142 297.3)
XYZxyz(7.0041, 4.1200, 19.8243)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48247D #597D24
analogous
#242C7D #48247D #75247D
triadic
#48247D #7D4824 #247D48
tetradic
#48247D #7D242C #597D24 #247D75
square
#48247D #7D242C #597D24 #247D75
split-complementary
#48247D #7D7524 #2C7D24
monochromatic
#11091E #2D164D #48247D #6332AD #824FCC

Accessibility & contrast

On white

11.51
#48247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#48247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48247D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48247D#FFFFFF#000000##FFFFFF
##48247D1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#3B3A4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #48247d;
/* rgb */ color: rgb(72, 36, 125);
/* oklch */ color: oklch(36.2% 0.142 297.3);
Tailwind
colors: {
  custom: {
    50: '#8062a3',
    500: '#48247d',
    950: '#000000',
  },
}
SCSS
$custom: #48247d;
$custom-light: #8062a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48247d",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 264.27,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36164,
    "c": 0.14226,
    "h": 297.3
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#48247D
secondary
#88AF4D
accent
#DF49A2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48247D

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

Preview Lab → · Contrast checker → · Palette generator →

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