#48327A#48327A

#48327A is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.118 H 294.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#48327A
RGBrgb(72, 50, 122)
HSLhsl(258, 42%, 34%)
HSVhsv(258, 59%, 48%)
CMYKcmyk(41%, 59%, 0%, 52.2%)
CIE-LABlab(26.92, 27.79, -37.77)
CIE-LCHlch(26.92, 46.89, 306.35°)
OKLaboklab(38.16% 0.0483 -0.1073)
OKLCHoklch(38.16% 0.118 294.2)
XYZxyz(7.3250, 5.0639, 19.0001)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48327A #647A32
analogous
#32407A #48327A #6C327A
triadic
#48327A #7A4832 #327A48
tetradic
#48327A #7A3240 #647A32 #327A6C
square
#48327A #7A3240 #647A32 #327A6C
split-complementary
#48327A #7A6C32 #407A32
monochromatic
#150E23 #2E204F #48327A #6244A5 #8266C0

Accessibility & contrast

On white

10.43
#48327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#48327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48327A
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48327A#FFFFFF#000000##FFFFFF
##48327A1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407C
Deuteranopia (green-blind)
#143E78
Tritanopia (blue-blind)
#3B4151
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48327a;
/* rgb */ color: rgb(72, 50, 122);
/* oklch */ color: oklch(38.2% 0.118 294.2);
Tailwind
colors: {
  custom: {
    50: '#7f6ba1',
    500: '#48327a',
    950: '#000000',
  },
}
SCSS
$custom: #48327a;
$custom-light: #7f6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#48327a",
  "rgb": {
    "r": 72,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 258.333,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.11769,
    "h": 294.2
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#48327A
secondary
#92A860
accent
#D256AC
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #48327A

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

Preview Lab → · Contrast checker → · Palette generator →

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