#48378D#48378D

#48378D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.136 H 287.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#48378D
RGBrgb(72, 55, 141)
HSLhsl(252, 44%, 38%)
HSVhsv(252, 61%, 55%)
CMYKcmyk(48.9%, 61%, 0%, 44.7%)
CIE-LABlab(29.50, 30.48, -45.47)
CIE-LCHlch(29.50, 54.74, 303.84°)
OKLaboklab(40.5% 0.0417 -0.13)
OKLCHoklch(40.5% 0.136 287.8)
XYZxyz(8.8450, 6.0328, 25.8925)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48378D #7C8D37
analogous
#37518D #48378D #73378D
triadic
#48378D #8D4837 #378D48
tetradic
#48378D #8D3751 #7C8D37 #378D73
square
#48378D #8D3751 #7C8D37 #378D73
split-complementary
#48378D #8D7337 #518D37
monochromatic
#1B1535 #322661 #48378D #5F49B8 #8675C9

Accessibility & contrast

On white

9.52
#48378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#48378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48378D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48378D#FFFFFF#000000##FFFFFF
##48378D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#314B5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #48378d;
/* rgb */ color: rgb(72, 55, 141);
/* oklch */ color: oklch(40.5% 0.136 287.8);
Tailwind
colors: {
  custom: {
    50: '#816eaf',
    500: '#48378d',
    950: '#000000',
  },
}
SCSS
$custom: #48378d;
$custom-light: #816eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#48378d",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 251.86,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.13649,
    "h": 287.8
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#48378D
secondary
#A5B26E
accent
#D454BA
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #48378D

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

Preview Lab → · Contrast checker → · Palette generator →

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