#48146B#48146B

#48146B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.142 H 307.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#48146B
RGBrgb(72, 20, 107)
HSLhsl(276, 69%, 25%)
HSVhsv(276, 81%, 42%)
CMYKcmyk(32.7%, 81.3%, 0%, 58%)
CIE-LABlab(19.80, 39.97, -39.65)
CIE-LCHlch(19.80, 56.30, 315.23°)
OKLaboklab(32.67% 0.0856 -0.1127)
OKLCHoklch(32.67% 0.142 307.2)
XYZxyz(5.5759, 2.9396, 14.1807)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48146B #376B14
analogous
#1C146B #48146B #6B1463
triadic
#48146B #6B4814 #146B48
tetradic
#48146B #6B1C14 #376B14 #14636B
square
#48146B #6B1C14 #376B14 #14636B
split-complementary
#48146B #636B14 #146B1C
monochromatic
#11051A #250A37 #48146B #6B1E9F #8D27D2

Accessibility & contrast

On white

13.22
#48146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#48146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48146B
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48146B#FFFFFF#000000##FFFFFF
##48146B1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48146b;
/* rgb */ color: rgb(72, 20, 107);
/* oklch */ color: oklch(32.7% 0.142 307.2);
Tailwind
colors: {
  custom: {
    50: '#7f5896',
    500: '#48146b',
    950: '#000000',
  },
}
SCSS
$custom: #48146b;
$custom-light: #7f5896;
$custom-dark: #000000;
JSON
{
  "hex": "#48146b",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 275.862,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3267,
    "c": 0.14155,
    "h": 307.2
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#48146B
secondary
#63A239
accent
#EB3C83
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48146B

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

Preview Lab → · Contrast checker → · Palette generator →

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