#48136F#48136F

#48136F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.147 H 305.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#48136F
RGBrgb(72, 19, 111)
HSLhsl(275, 71%, 25%)
HSVhsv(275, 83%, 44%)
CMYKcmyk(35.1%, 82.9%, 0%, 56.5%)
CIE-LABlab(20.01, 41.34, -41.91)
CIE-LCHlch(20.01, 58.87, 314.61°)
OKLaboklab(32.92% 0.0854 -0.1194)
OKLCHoklch(32.92% 0.147 305.6)
XYZxyz(5.7740, 2.9912, 15.3090)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48136F #3A6F13
analogous
#1A136F #48136F #6F1368
triadic
#48136F #6F4813 #136F48
tetradic
#48136F #6F1A13 #3A6F13 #13686F
square
#48136F #6F1A13 #3A6F13 #13686F
split-complementary
#48136F #686F13 #136F1A
monochromatic
#11041A #260A3B #48136F #6A1CA3 #8C25D8

Accessibility & contrast

On white

13.14
#48136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#48136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48136F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48136F#FFFFFF#000000##FFFFFF
##48136F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#412B41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48136f;
/* rgb */ color: rgb(72, 19, 111);
/* oklch */ color: oklch(32.9% 0.147 305.6);
Tailwind
colors: {
  custom: {
    50: '#805899',
    500: '#48136f',
    950: '#000000',
  },
}
SCSS
$custom: #48136f;
$custom-light: #805899;
$custom-dark: #000000;
JSON
{
  "hex": "#48136f",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 274.565,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32924,
    "c": 0.1468,
    "h": 305.6
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#48136F
secondary
#67A638
accent
#EE3A86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #48136F

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

Preview Lab → · Contrast checker → · Palette generator →

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