#48327D#48327D

#48327D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.122 H 293.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#48327D
RGBrgb(72, 50, 125)
HSLhsl(258, 43%, 34%)
HSVhsv(258, 60%, 49%)
CMYKcmyk(42.4%, 60%, 0%, 51%)
CIE-LABlab(27.13, 28.69, -39.32)
CIE-LCHlch(27.13, 48.68, 306.12°)
OKLaboklab(38.39% 0.0483 -0.1119)
OKLCHoklch(38.39% 0.122 293.3)
XYZxyz(7.5138, 5.1394, 19.9942)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48327D #677D32
analogous
#32427D #48327D #6E327D
triadic
#48327D #7D4832 #327D48
tetradic
#48327D #7D3242 #677D32 #327D6E
square
#48327D #7D3242 #677D32 #327D6E
split-complementary
#48327D #7D6E32 #427D32
monochromatic
#160F26 #2F2151 #48327D #6143A9 #8267C2

Accessibility & contrast

On white

10.36
#48327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#48327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48327D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48327D#FFFFFF#000000##FFFFFF
##48327D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05417F
Deuteranopia (green-blind)
#0E3F7B
Tritanopia (blue-blind)
#3A4252
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48327d;
/* rgb */ color: rgb(72, 50, 125);
/* oklch */ color: oklch(38.4% 0.122 293.3);
Tailwind
colors: {
  custom: {
    50: '#7f6ba3',
    500: '#48327d',
    950: '#000000',
  },
}
SCSS
$custom: #48327d;
$custom-light: #7f6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#48327d",
  "rgb": {
    "r": 72,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 257.6,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38385,
    "c": 0.12185,
    "h": 293.3
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#48327D
secondary
#94AA61
accent
#D355AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #48327D

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

Preview Lab → · Contrast checker → · Palette generator →

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