#48348F#48348F

#48348F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.143 H 288.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#48348F
RGBrgb(72, 52, 143)
HSLhsl(253, 47%, 38%)
HSVhsv(253, 64%, 56%)
CMYKcmyk(49.7%, 63.6%, 0%, 43.9%)
CIE-LABlab(28.94, 32.96, -47.59)
CIE-LCHlch(28.94, 57.89, 304.70°)
OKLaboklab(40.14% 0.0451 -0.1362)
OKLCHoklch(40.14% 0.143 288.3)
XYZxyz(8.8570, 5.8165, 26.6373)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48348F #7B8F34
analogous
#344D8F #48348F #75348F
triadic
#48348F #8F4834 #348F48
tetradic
#48348F #8F344D #7B8F34 #348F75
square
#48348F #8F344D #7B8F34 #348F75
split-complementary
#48348F #8F7534 #4D8F34
monochromatic
#1B1335 #312462 #48348F #5F45BB #8672CC

Accessibility & contrast

On white

9.71
#48348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#48348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48348F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48348F#FFFFFF#000000##FFFFFF
##48348F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#30495C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #48348f;
/* rgb */ color: rgb(72, 52, 143);
/* oklch */ color: oklch(40.1% 0.143 288.3);
Tailwind
colors: {
  custom: {
    50: '#816cb0',
    500: '#48348f',
    950: '#000000',
  },
}
SCSS
$custom: #48348f;
$custom-light: #816cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#48348f",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 253.187,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.14348,
    "h": 288.3
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#48348F
secondary
#A4B46B
accent
#D651B9
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #48348F

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

Preview Lab → · Contrast checker → · Palette generator →

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