#48348C#48348C

#48348C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.139 H 288.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#48348C
RGBrgb(72, 52, 140)
HSLhsl(254, 46%, 38%)
HSVhsv(254, 63%, 55%)
CMYKcmyk(48.6%, 62.9%, 0%, 45.1%)
CIE-LABlab(28.71, 32.03, -46.12)
CIE-LCHlch(28.71, 56.15, 304.78°)
OKLaboklab(39.9% 0.0453 -0.1319)
OKLCHoklch(39.9% 0.139 288.9)
XYZxyz(8.6327, 5.7268, 25.4564)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48348C #788C34
analogous
#344C8C #48348C #74348C
triadic
#48348C #8C4834 #348C48
tetradic
#48348C #8C344C #788C34 #348C74
square
#48348C #8C344C #788C34 #348C74
split-complementary
#48348C #8C7434 #4C8C34
monochromatic
#1A1333 #31235F #48348C #5F45B9 #8570CA

Accessibility & contrast

On white

9.79
#48348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#48348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48348C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48348C#FFFFFF#000000##FFFFFF
##48348C1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#32485B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #48348c;
/* rgb */ color: rgb(72, 52, 140);
/* oklch */ color: oklch(39.9% 0.139 288.9);
Tailwind
colors: {
  custom: {
    50: '#816cae',
    500: '#48348c',
    950: '#000000',
  },
}
SCSS
$custom: #48348c;
$custom-light: #816cae;
$custom-dark: #000000;
JSON
{
  "hex": "#48348c",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 253.636,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.13943,
    "h": 288.9
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#48348C
secondary
#A2B26A
accent
#D552B8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #48348C

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

Preview Lab → · Contrast checker → · Palette generator →

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