#48126F#48126F

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

Color values

HEX#48126F
RGBrgb(72, 18, 111)
HSLhsl(275, 72%, 25%)
HSVhsv(275, 84%, 44%)
CMYKcmyk(35.1%, 83.8%, 0%, 56.5%)
CIE-LABlab(19.88, 41.73, -42.13)
CIE-LCHlch(19.88, 59.30, 314.73°)
OKLaboklab(32.83% 0.0863 -0.12)
OKLCHoklch(32.83% 0.148 305.7)
XYZxyz(5.7574, 2.9581, 15.3035)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48126F #396F12
analogous
#1A126F #48126F #6F1267
triadic
#48126F #6F4812 #126F48
tetradic
#48126F #6F1A12 #396F12 #12676F
square
#48126F #6F1A12 #396F12 #12676F
split-complementary
#48126F #676F12 #126F1A
monochromatic
#11041A #26093A #48126F #6A1BA4 #8C23D8

Accessibility & contrast

On white

13.19
#48126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#48126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48126F
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48126F#FFFFFF#000000##FFFFFF
##48126F1.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)
#002F71
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#412B41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48126f;
/* rgb */ color: rgb(72, 18, 111);
/* oklch */ color: oklch(32.8% 0.148 305.7);
Tailwind
colors: {
  custom: {
    50: '#805899',
    500: '#48126f',
    950: '#000000',
  },
}
SCSS
$custom: #48126f;
$custom-light: #805899;
$custom-dark: #000000;
JSON
{
  "hex": "#48126f",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 274.839,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3283,
    "c": 0.14781,
    "h": 305.7
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#48126F
secondary
#65A637
accent
#EF3985
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #48126F

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

Preview Lab → · Contrast checker → · Palette generator →

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