#48319F#48319F

#48319F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.168 H 285.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#48319F
RGBrgb(72, 49, 159)
HSLhsl(253, 53%, 41%)
HSVhsv(253, 69%, 62%)
CMYKcmyk(54.7%, 69.2%, 0%, 37.6%)
CIE-LABlab(29.61, 39.68, -56.30)
CIE-LCHlch(29.61, 68.88, 305.17°)
OKLaboklab(41.03% 0.0462 -0.1618)
OKLCHoklch(41.03% 0.168 285.9)
XYZxyz(10.0269, 6.0770, 33.4388)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48319F #889F31
analogous
#31519F #48319F #7F319F
triadic
#48319F #9F4831 #319F48
tetradic
#48319F #9F3151 #889F31 #319F7F
square
#48319F #9F3151 #889F31 #319F7F
split-complementary
#48319F #9F7F31 #519F31
monochromatic
#1E1441 #332370 #48319F #6247C6 #8A76D5

Accessibility & contrast

On white

9.48
#48319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#48319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48319F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48319F#FFFFFF#000000##FFFFFF
##48319F1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#234D64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #48319f;
/* rgb */ color: rgb(72, 49, 159);
/* oklch */ color: oklch(41.0% 0.168 285.9);
Tailwind
colors: {
  custom: {
    50: '#846bbc',
    500: '#48319f',
    950: '#000000',
  },
}
SCSS
$custom: #48319f;
$custom-light: #846bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#48319f",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 252.545,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41032,
    "c": 0.16827,
    "h": 285.9
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#48319F
secondary
#ADBD6F
accent
#DC4CBE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #48319F

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

Preview Lab → · Contrast checker → · Palette generator →

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