#48319E#48319E

#48319E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.167 H 286.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#48319E
RGBrgb(72, 49, 158)
HSLhsl(253, 53%, 41%)
HSVhsv(253, 69%, 62%)
CMYKcmyk(54.4%, 69%, 0%, 38%)
CIE-LABlab(29.52, 39.37, -55.84)
CIE-LCHlch(29.52, 68.32, 305.19°)
OKLaboklab(40.94% 0.0463 -0.1604)
OKLCHoklch(40.94% 0.167 286.1)
XYZxyz(9.9405, 6.0424, 32.9836)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48319E #879E31
analogous
#31509E #48319E #7F319E
triadic
#48319E #9E4831 #319E48
tetradic
#48319E #9E3150 #879E31 #319E7F
square
#48319E #9E3150 #879E31 #319E7F
split-complementary
#48319E #9E7F31 #509E31
monochromatic
#1D1441 #33236F #48319E #6146C6 #8975D4

Accessibility & contrast

On white

9.51
#48319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#48319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48319E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48319E#FFFFFF#000000##FFFFFF
##48319E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#244D63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #48319e;
/* rgb */ color: rgb(72, 49, 158);
/* oklch */ color: oklch(40.9% 0.167 286.1);
Tailwind
colors: {
  custom: {
    50: '#846bbc',
    500: '#48319e',
    950: '#000000',
  },
}
SCSS
$custom: #48319e;
$custom-light: #846bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#48319e",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 252.661,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40943,
    "c": 0.16701,
    "h": 286.1
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#48319E
secondary
#ACBC6E
accent
#DC4CBE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #48319E

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

Preview Lab → · Contrast checker → · Palette generator →

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