#48247F#48247F

#48247F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.145 H 296.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#48247F
RGBrgb(72, 36, 127)
HSLhsl(264, 56%, 32%)
HSVhsv(264, 72%, 50%)
CMYKcmyk(43.3%, 71.7%, 0%, 50.2%)
CIE-LABlab(24.23, 37.49, -45.27)
CIE-LCHlch(24.23, 58.78, 309.63°)
OKLaboklab(36.34% 0.0648 -0.1294)
OKLCHoklch(36.34% 0.145 296.6)
XYZxyz(7.1331, 4.1716, 20.5039)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48247F #5B7F24
analogous
#242E7F #48247F #76247F
triadic
#48247F #7F4824 #247F48
tetradic
#48247F #7F242E #5B7F24 #247F76
square
#48247F #7F242E #5B7F24 #247F76
split-complementary
#48247F #7F7624 #2E7F24
monochromatic
#120920 #2D164F #48247F #6332AF #8250CD

Accessibility & contrast

On white

11.45
#48247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#48247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48247F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48247F#FFFFFF#000000##FFFFFF
##48247F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#3A3A4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48247f;
/* rgb */ color: rgb(72, 36, 127);
/* oklch */ color: oklch(36.3% 0.145 296.6);
Tailwind
colors: {
  custom: {
    50: '#8062a5',
    500: '#48247f',
    950: '#000000',
  },
}
SCSS
$custom: #48247f;
$custom-light: #8062a5;
$custom-dark: #000000;
JSON
{
  "hex": "#48247f",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 263.736,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36335,
    "c": 0.1447,
    "h": 296.6
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#48247F
secondary
#8AB14E
accent
#DF49A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48247F

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

Preview Lab → · Contrast checker → · Palette generator →

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