#48246C#48246C

#48246C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.121 H 303.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#48246C
RGBrgb(72, 36, 108)
HSLhsl(270, 50%, 28%)
HSVhsv(270, 67%, 42%)
CMYKcmyk(33.3%, 66.7%, 0%, 57.6%)
CIE-LABlab(22.73, 32.25, -35.56)
CIE-LCHlch(22.73, 48.00, 312.21°)
OKLaboklab(34.78% 0.0673 -0.1008)
OKLCHoklch(34.78% 0.121 303.7)
XYZxyz(6.0095, 3.7222, 14.5863)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48246C #486C24
analogous
#24246C #48246C #6C246C
triadic
#48246C #6C4824 #246C48
tetradic
#48246C #6C2424 #486C24 #246C6C
square
#48246C #6C2424 #486C24 #246C6C
split-complementary
#48246C #6C6C24 #246C24
monochromatic
#0F0817 #29153E #48246C #67339A #8548C2

Accessibility & contrast

On white

12.04
#48246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#48246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48246C
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48246C#FFFFFF#000000##FFFFFF
##48246C1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#0F366A
Tritanopia (blue-blind)
#413344
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #48246c;
/* rgb */ color: rgb(72, 36, 108);
/* oklch */ color: oklch(34.8% 0.121 303.7);
Tailwind
colors: {
  custom: {
    50: '#7e6197',
    500: '#48246c',
    950: '#000000',
  },
}
SCSS
$custom: #48246c;
$custom-light: #7e6197;
$custom-dark: #000000;
JSON
{
  "hex": "#48246c",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 270,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.12118,
    "h": 303.7
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#48246C
secondary
#769F4D
accent
#DA4E94
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #48246C

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

Preview Lab → · Contrast checker → · Palette generator →

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