#48156E#48156E

#48156E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.144 H 305.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#48156E
RGBrgb(72, 21, 110)
HSLhsl(274, 68%, 26%)
HSVhsv(274, 81%, 43%)
CMYKcmyk(34.5%, 80.9%, 0%, 56.9%)
CIE-LABlab(20.20, 40.29, -40.95)
CIE-LCHlch(20.20, 57.44, 314.53°)
OKLaboklab(33.03% 0.0839 -0.1166)
OKLCHoklch(33.03% 0.144 305.7)
XYZxyz(5.7545, 3.0399, 15.0324)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48156E #3B6E15
analogous
#1B156E #48156E #6E1567
triadic
#48156E #6E4815 #156E48
tetradic
#48156E #6E1B15 #3B6E15 #15676E
square
#48156E #6E1B15 #3B6E15 #15676E
split-complementary
#48156E #676E15 #156E1B
monochromatic
#11051A #260B3B #48156E #6A1FA1 #8B29D5

Accessibility & contrast

On white

13.06
#48156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#48156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48156E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48156E#FFFFFF#000000##FFFFFF
##48156E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#412C41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48156e;
/* rgb */ color: rgb(72, 21, 110);
/* oklch */ color: oklch(33.0% 0.144 305.7);
Tailwind
colors: {
  custom: {
    50: '#7f5998',
    500: '#48156e',
    950: '#000000',
  },
}
SCSS
$custom: #48156e;
$custom-light: #7f5998;
$custom-dark: #000000;
JSON
{
  "hex": "#48156e",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 274.382,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33032,
    "c": 0.14362,
    "h": 305.7
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#48156E
secondary
#68A43A
accent
#EB3D87
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #48156E

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

Preview Lab → · Contrast checker → · Palette generator →

#48156E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva