#48348B#48348B

#48348B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.8% C 0.138 H 289.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#48348B
RGBrgb(72, 52, 139)
HSLhsl(254, 46%, 37%)
HSVhsv(254, 63%, 55%)
CMYKcmyk(48.2%, 62.6%, 0%, 45.5%)
CIE-LABlab(28.64, 31.72, -45.62)
CIE-LCHlch(28.64, 55.57, 304.81°)
OKLaboklab(39.82% 0.0453 -0.1304)
OKLCHoklch(39.82% 0.138 289.2)
XYZxyz(8.5593, 5.6974, 25.0698)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48348B #778B34
analogous
#344C8B #48348B #74348B
triadic
#48348B #8B4834 #348B48
tetradic
#48348B #8B344C #778B34 #348B74
square
#48348B #8B344C #778B34 #348B74
split-complementary
#48348B #8B7434 #4C8B34
monochromatic
#1A1332 #31235E #48348B #5F45B8 #8570C9

Accessibility & contrast

On white

9.81
#48348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#48348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48348B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48348B#FFFFFF#000000##FFFFFF
##48348B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#33485A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #48348b;
/* rgb */ color: rgb(72, 52, 139);
/* oklch */ color: oklch(39.8% 0.138 289.2);
Tailwind
colors: {
  custom: {
    50: '#816cae',
    500: '#48348b',
    950: '#000000',
  },
}
SCSS
$custom: #48348b;
$custom-light: #816cae;
$custom-dark: #000000;
JSON
{
  "hex": "#48348b",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 253.793,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.13807,
    "h": 289.2
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#48348B
secondary
#A1B269
accent
#D553B7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #48348B

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

Preview Lab → · Contrast checker → · Palette generator →

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