#48146C#48146C

#48146C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.143 H 306.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#48146C
RGBrgb(72, 20, 108)
HSLhsl(275, 69%, 25%)
HSVhsv(275, 81%, 42%)
CMYKcmyk(33.3%, 81.5%, 0%, 57.6%)
CIE-LABlab(19.89, 40.21, -40.16)
CIE-LCHlch(19.89, 56.83, 315.03°)
OKLaboklab(32.76% 0.0853 -0.1142)
OKLCHoklch(32.76% 0.143 306.8)
XYZxyz(5.6288, 2.9608, 14.4594)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48146C #386C14
analogous
#1C146C #48146C #6C1464
triadic
#48146C #6C4814 #146C48
tetradic
#48146C #6C1C14 #386C14 #14646C
square
#48146C #6C1C14 #386C14 #14646C
split-complementary
#48146C #646C14 #146C1C
monochromatic
#11051A #260A38 #48146C #6A1EA0 #8D27D3

Accessibility & contrast

On white

13.19
#48146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48146C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48146C#FFFFFF#000000##FFFFFF
##48146C1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#422A40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48146c;
/* rgb */ color: rgb(72, 20, 108);
/* oklch */ color: oklch(32.8% 0.143 306.8);
Tailwind
colors: {
  custom: {
    50: '#7f5897',
    500: '#48146c',
    950: '#000000',
  },
}
SCSS
$custom: #48146c;
$custom-light: #7f5897;
$custom-dark: #000000;
JSON
{
  "hex": "#48146c",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 275.455,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.1426,
    "h": 306.8
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#48146C
secondary
#64A339
accent
#EC3C84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48146C

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

Preview Lab → · Contrast checker → · Palette generator →

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