#48337A#48337A

#48337A is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.3% C 0.116 H 293.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#48337A
RGBrgb(72, 51, 122)
HSLhsl(258, 41%, 34%)
HSVhsv(258, 58%, 48%)
CMYKcmyk(41%, 58.2%, 0%, 52.2%)
CIE-LABlab(27.16, 27.17, -37.38)
CIE-LCHlch(27.16, 46.21, 306.01°)
OKLaboklab(38.34% 0.0469 -0.1062)
OKLCHoklch(38.34% 0.116 293.8)
XYZxyz(7.3682, 5.1503, 19.0145)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48337A #657A33
analogous
#33427A #48337A #6C337A
triadic
#48337A #7A4833 #337A48
tetradic
#48337A #7A3342 #657A33 #337A6C
square
#48337A #7A3342 #657A33 #337A6C
split-complementary
#48337A #7A6C33 #427A33
monochromatic
#150F24 #2F214F #48337A #6145A5 #8268C0

Accessibility & contrast

On white

10.34
#48337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#48337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48337A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48337A#FFFFFF#000000##FFFFFF
##48337A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417C
Deuteranopia (green-blind)
#163F78
Tritanopia (blue-blind)
#3B4251
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48337a;
/* rgb */ color: rgb(72, 51, 122);
/* oklch */ color: oklch(38.3% 0.116 293.8);
Tailwind
colors: {
  custom: {
    50: '#7e6ba1',
    500: '#48337a',
    950: '#000000',
  },
}
SCSS
$custom: #48337a;
$custom-light: #7e6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#48337a",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 257.746,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3834,
    "c": 0.11609,
    "h": 293.8
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#48337A
secondary
#93A861
accent
#D157AD
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #48337A

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

Preview Lab → · Contrast checker → · Palette generator →

#48337A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva