#48319A#48319A

#48319A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.162 H 286.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#48319A
RGBrgb(72, 49, 154)
HSLhsl(253, 52%, 40%)
HSVhsv(253, 68%, 60%)
CMYKcmyk(53.2%, 68.2%, 0%, 39.6%)
CIE-LABlab(29.18, 38.14, -53.96)
CIE-LCHlch(29.18, 66.08, 305.25°)
OKLaboklab(40.59% 0.047 -0.1549)
OKLCHoklch(40.59% 0.162 286.9)
XYZxyz(9.6018, 5.9070, 31.1998)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48319A #839A31
analogous
#314E9A #48319A #7D319A
triadic
#48319A #9A4831 #319A48
tetradic
#48319A #9A314E #839A31 #319A7D
square
#48319A #9A314E #839A31 #319A7D
split-complementary
#48319A #9A7D31 #4E9A31
monochromatic
#1D133D #32226C #48319A #6045C4 #8873D2

Accessibility & contrast

On white

9.63
#48319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#48319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48319A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48319A#FFFFFF#000000##FFFFFF
##48319A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#284B61
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #48319a;
/* rgb */ color: rgb(72, 49, 154);
/* oklch */ color: oklch(40.6% 0.162 286.9);
Tailwind
colors: {
  custom: {
    50: '#836bb9',
    500: '#48319a',
    950: '#000000',
  },
}
SCSS
$custom: #48319a;
$custom-light: #836bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#48319a",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 253.143,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4059,
    "c": 0.1619,
    "h": 286.9
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#48319A
secondary
#A9BA6C
accent
#DB4DBC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #48319A

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

Preview Lab → · Contrast checker → · Palette generator →

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