#48338E#48338E

#48338E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.144 H 288.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#48338E
RGBrgb(72, 51, 142)
HSLhsl(254, 47%, 38%)
HSVhsv(254, 64%, 56%)
CMYKcmyk(49.3%, 64.1%, 0%, 44.3%)
CIE-LABlab(28.64, 33.26, -47.48)
CIE-LCHlch(28.64, 57.97, 305.01°)
OKLaboklab(39.89% 0.0463 -0.1359)
OKLCHoklch(39.89% 0.144 288.8)
XYZxyz(8.7374, 5.6980, 26.2254)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48338E #798E33
analogous
#334C8E #48338E #75338E
triadic
#48338E #8E4833 #338E48
tetradic
#48338E #8E334C #798E33 #338E75
square
#48338E #8E334C #798E33 #338E75
split-complementary
#48338E #8E7533 #4C8E33
monochromatic
#1A1334 #312361 #48338E #5F43BB #8570CC

Accessibility & contrast

On white

9.81
#48338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#48338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48338E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48338E#FFFFFF#000000##FFFFFF
##48338E1.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)
#004591
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#31485B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #48338e;
/* rgb */ color: rgb(72, 51, 142);
/* oklch */ color: oklch(39.9% 0.144 288.8);
Tailwind
colors: {
  custom: {
    50: '#816cb0',
    500: '#48338e',
    950: '#000000',
  },
}
SCSS
$custom: #48338e;
$custom-light: #816cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#48338e",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 253.846,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39893,
    "c": 0.14353,
    "h": 288.8
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#48338E
secondary
#A2B469
accent
#D751B8
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #48338E

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

Preview Lab → · Contrast checker → · Palette generator →

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