#48348D#48348D

#48348D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.0% C 0.141 H 288.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#48348D
RGBrgb(72, 52, 141)
HSLhsl(253, 46%, 38%)
HSVhsv(253, 63%, 55%)
CMYKcmyk(48.9%, 63.1%, 0%, 44.7%)
CIE-LABlab(28.79, 32.34, -46.61)
CIE-LCHlch(28.79, 56.73, 304.75°)
OKLaboklab(39.98% 0.0452 -0.1333)
OKLCHoklch(39.98% 0.141 288.7)
XYZxyz(8.7068, 5.7564, 25.8465)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48348D #798D34
analogous
#344C8D #48348D #74348D
triadic
#48348D #8D4834 #348D48
tetradic
#48348D #8D344C #798D34 #348D74
square
#48348D #8D344C #798D34 #348D74
split-complementary
#48348D #8D7434 #4C8D34
monochromatic
#1A1334 #312460 #48348D #5F44BA #8571CB

Accessibility & contrast

On white

9.76
#48348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48348D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48348D#FFFFFF#000000##FFFFFF
##48348D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#31495B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #48348d;
/* rgb */ color: rgb(72, 52, 141);
/* oklch */ color: oklch(40.0% 0.141 288.7);
Tailwind
colors: {
  custom: {
    50: '#816caf',
    500: '#48348d',
    950: '#000000',
  },
}
SCSS
$custom: #48348d;
$custom-light: #816caf;
$custom-dark: #000000;
JSON
{
  "hex": "#48348d",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 253.483,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39979,
    "c": 0.14078,
    "h": 288.7
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#48348D
secondary
#A2B36A
accent
#D652B8
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #48348D

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

Preview Lab → · Contrast checker → · Palette generator →

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