#48146A#48146A

#48146A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.141 H 307.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#48146A
RGBrgb(72, 20, 106)
HSLhsl(276, 68%, 25%)
HSVhsv(276, 81%, 42%)
CMYKcmyk(32.1%, 81.1%, 0%, 58.4%)
CIE-LABlab(19.72, 39.73, -39.14)
CIE-LCHlch(19.72, 55.77, 315.43°)
OKLaboklab(32.58% 0.0858 -0.1112)
OKLCHoklch(32.58% 0.141 307.7)
XYZxyz(5.5236, 2.9187, 13.9053)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48146A #366A14
analogous
#1D146A #48146A #6A1461
triadic
#48146A #6A4814 #146A48
tetradic
#48146A #6A1D14 #366A14 #14616A
square
#48146A #6A1D14 #366A14 #14616A
split-complementary
#48146A #616A14 #146A1D
monochromatic
#11051A #250A37 #48146A #6B1E9D #8E27D1

Accessibility & contrast

On white

13.26
#48146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#48146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48146A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48146A#FFFFFF#000000##FFFFFF
##48146A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#422A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48146a;
/* rgb */ color: rgb(72, 20, 106);
/* oklch */ color: oklch(32.6% 0.141 307.7);
Tailwind
colors: {
  custom: {
    50: '#7f5895',
    500: '#48146a',
    950: '#000000',
  },
}
SCSS
$custom: #48146a;
$custom-light: #7f5895;
$custom-dark: #000000;
JSON
{
  "hex": "#48146a",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 276.279,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.1405,
    "h": 307.7
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#48146A
secondary
#62A139
accent
#EB3D82
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48146A

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

Preview Lab → · Contrast checker → · Palette generator →

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