#48337B#48337B

#48337B is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.4% C 0.117 H 293.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#48337B
RGBrgb(72, 51, 123)
HSLhsl(258, 41%, 34%)
HSVhsv(258, 59%, 48%)
CMYKcmyk(41.5%, 58.5%, 0%, 51.8%)
CIE-LABlab(27.23, 27.47, -37.90)
CIE-LCHlch(27.23, 46.80, 305.93°)
OKLaboklab(38.41% 0.047 -0.1077)
OKLCHoklch(38.41% 0.118 293.6)
XYZxyz(7.4305, 5.1752, 19.3425)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48337B #667B33
analogous
#33427B #48337B #6C337B
triadic
#48337B #7B4833 #337B48
tetradic
#48337B #7B3342 #667B33 #337B6C
square
#48337B #7B3342 #667B33 #337B6C
split-complementary
#48337B #7B6C33 #427B33
monochromatic
#150F24 #2F2150 #48337B #6145A6 #8268C0

Accessibility & contrast

On white

10.32
#48337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#48337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48337B
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48337B#FFFFFF#000000##FFFFFF
##48337B1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417D
Deuteranopia (green-blind)
#143F79
Tritanopia (blue-blind)
#3B4252
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48337b;
/* rgb */ color: rgb(72, 51, 123);
/* oklch */ color: oklch(38.4% 0.117 293.6);
Tailwind
colors: {
  custom: {
    50: '#7f6ba2',
    500: '#48337b',
    950: '#000000',
  },
}
SCSS
$custom: #48337b;
$custom-light: #7f6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#48337b",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 257.5,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.1175,
    "h": 293.6
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#48337B
secondary
#94A862
accent
#D157AD
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #48337B

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

Preview Lab → · Contrast checker → · Palette generator →

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