#48405C#48405C

#48405C is a dark, muted violet. Relative luminance 0.058; OKLCH L 39.1% C 0.048 H 297.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#48405C
RGBrgb(72, 64, 92)
HSLhsl(257, 18%, 31%)
HSVhsv(257, 30%, 36%)
CMYKcmyk(21.7%, 30.4%, 0%, 63.9%)
CIE-LABlab(28.95, 10.07, -15.39)
CIE-LCHlch(28.95, 18.39, 303.21°)
OKLaboklab(39.14% 0.0218 -0.0423)
OKLCHoklch(39.14% 0.048 297.3)
XYZxyz(6.4372, 5.8172, 10.9068)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48405C #545C40
analogous
#40465C #48405C #56405C
triadic
#48405C #5C4840 #405C48
tetradic
#48405C #5C4046 #545C40 #405C56
square
#48405C #5C4046 #545C40 #405C56
split-complementary
#48405C #5C5640 #465C40
monochromatic
#100E14 #2C2738 #48405C #645980 #8276A0

Accessibility & contrast

On white

9.71
#48405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#48405C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48405C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48405C#FFFFFF#000000##FFFFFF
##48405C1.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)
#3A445D
Deuteranopia (green-blind)
#3B445B
Tritanopia (blue-blind)
#44444A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #48405c;
/* rgb */ color: rgb(72, 64, 92);
/* oklch */ color: oklch(39.1% 0.048 297.3);
Tailwind
colors: {
  custom: {
    50: '#7b748a',
    500: '#48405c',
    950: '#000000',
  },
}
SCSS
$custom: #48405c;
$custom-light: #7b748a;
$custom-dark: #000000;
JSON
{
  "hex": "#48405c",
  "rgb": {
    "r": 72,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 257.143,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39136,
    "c": 0.04765,
    "h": 297.3
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#48405C
secondary
#838B6C
accent
#BB6DA4
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#09080B
muted
#7B7B7C

Preview Lab

Preview with #48405C

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

Preview Lab → · Contrast checker → · Palette generator →

#48405C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva