#48146F#48146F

#48146F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.146 H 305.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#48146F
RGBrgb(72, 20, 111)
HSLhsl(274, 69%, 26%)
HSVhsv(274, 82%, 44%)
CMYKcmyk(35.1%, 82%, 0%, 56.5%)
CIE-LABlab(20.15, 40.94, -41.69)
CIE-LCHlch(20.15, 58.43, 314.48°)
OKLaboklab(33.02% 0.0845 -0.1187)
OKLCHoklch(33.02% 0.146 305.5)
XYZxyz(5.7912, 3.0258, 15.3148)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48146F #3B6F14
analogous
#1A146F #48146F #6F1468
triadic
#48146F #6F4814 #146F48
tetradic
#48146F #6F1A14 #3B6F14 #14686F
square
#48146F #6F1A14 #3B6F14 #14686F
split-complementary
#48146F #686F14 #146F1A
monochromatic
#11051A #260B3B #48146F #6A1DA3 #8B27D7

Accessibility & contrast

On white

13.08
#48146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#48146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48146F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48146F#FFFFFF#000000##FFFFFF
##48146F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48146f;
/* rgb */ color: rgb(72, 20, 111);
/* oklch */ color: oklch(33.0% 0.146 305.5);
Tailwind
colors: {
  custom: {
    50: '#805899',
    500: '#48146f',
    950: '#000000',
  },
}
SCSS
$custom: #48146f;
$custom-light: #805899;
$custom-dark: #000000;
JSON
{
  "hex": "#48146f",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 274.286,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3302,
    "c": 0.14575,
    "h": 305.5
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#48146F
secondary
#68A639
accent
#EC3C87
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #48146F

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

Preview Lab → · Contrast checker → · Palette generator →

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