#48327E#48327E

#48327E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.5% C 0.123 H 293.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#48327E
RGBrgb(72, 50, 126)
HSLhsl(257, 43%, 35%)
HSVhsv(257, 60%, 49%)
CMYKcmyk(42.9%, 60.3%, 0%, 50.6%)
CIE-LABlab(27.20, 28.99, -39.83)
CIE-LCHlch(27.20, 49.27, 306.05°)
OKLaboklab(38.46% 0.0483 -0.1134)
OKLCHoklch(38.46% 0.123 293.1)
XYZxyz(7.5780, 5.1651, 20.3323)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48327E #687E32
analogous
#32427E #48327E #6E327E
triadic
#48327E #7E4832 #327E48
tetradic
#48327E #7E3242 #687E32 #327E6E
square
#48327E #7E3242 #687E32 #327E6E
split-complementary
#48327E #7E6E32 #427E32
monochromatic
#160F26 #2F2152 #48327E #6143AA #8268C3

Accessibility & contrast

On white

10.33
#48327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48327E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48327E#FFFFFF#000000##FFFFFF
##48327E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024181
Deuteranopia (green-blind)
#0C3F7C
Tritanopia (blue-blind)
#3A4353
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48327e;
/* rgb */ color: rgb(72, 50, 126);
/* oklch */ color: oklch(38.5% 0.123 293.1);
Tailwind
colors: {
  custom: {
    50: '#7f6ba4',
    500: '#48327e',
    950: '#000000',
  },
}
SCSS
$custom: #48327e;
$custom-light: #7f6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#48327e",
  "rgb": {
    "r": 72,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 257.368,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38461,
    "c": 0.12323,
    "h": 293.1
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#48327E
secondary
#95AB61
accent
#D355AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #48327E

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

Preview Lab → · Contrast checker → · Palette generator →

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