#48348E#48348E

#48348E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.142 H 288.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#48348E
RGBrgb(72, 52, 142)
HSLhsl(253, 46%, 38%)
HSVhsv(253, 63%, 56%)
CMYKcmyk(49.3%, 63.4%, 0%, 44.3%)
CIE-LABlab(28.87, 32.65, -47.10)
CIE-LCHlch(28.87, 57.31, 304.73°)
OKLaboklab(40.06% 0.0451 -0.1348)
OKLCHoklch(40.06% 0.142 288.5)
XYZxyz(8.7816, 5.7863, 26.2401)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48348E #7A8E34
analogous
#344D8E #48348E #75348E
triadic
#48348E #8E4834 #348E48
tetradic
#48348E #8E344D #7A8E34 #348E75
square
#48348E #8E344D #7A8E34 #348E75
split-complementary
#48348E #8E7534 #4D8E34
monochromatic
#1B1334 #312461 #48348E #5F44BB #8571CB

Accessibility & contrast

On white

9.73
#48348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#48348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48348E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48348E#FFFFFF#000000##FFFFFF
##48348E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48348e;
/* rgb */ color: rgb(72, 52, 142);
/* oklch */ color: oklch(40.1% 0.142 288.5);
Tailwind
colors: {
  custom: {
    50: '#816cb0',
    500: '#48348e',
    950: '#000000',
  },
}
SCSS
$custom: #48348e;
$custom-light: #816cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#48348e",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 253.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.14213,
    "h": 288.5
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#48348E
secondary
#A3B36A
accent
#D652B9
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #48348E

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

Preview Lab → · Contrast checker → · Palette generator →

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