#48337C#48337C

#48337C is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.119 H 293.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#48337C
RGBrgb(72, 51, 124)
HSLhsl(257, 42%, 34%)
HSVhsv(257, 59%, 49%)
CMYKcmyk(41.9%, 58.9%, 0%, 51.4%)
CIE-LABlab(27.30, 27.77, -38.42)
CIE-LCHlch(27.30, 47.40, 305.86°)
OKLaboklab(38.49% 0.047 -0.1092)
OKLCHoklch(38.49% 0.119 293.3)
XYZxyz(7.4934, 5.2004, 19.6738)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48337C #677C33
analogous
#33437C #48337C #6D337C
triadic
#48337C #7C4833 #337C48
tetradic
#48337C #7C3343 #677C33 #337C6D
square
#48337C #7C3343 #677C33 #337C6D
split-complementary
#48337C #7C6D33 #437C33
monochromatic
#160F25 #2F2151 #48337C #6145A7 #8268C1

Accessibility & contrast

On white

10.29
#48337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48337C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48337C#FFFFFF#000000##FFFFFF
##48337C1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417E
Deuteranopia (green-blind)
#133F7A
Tritanopia (blue-blind)
#3A4352
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48337c;
/* rgb */ color: rgb(72, 51, 124);
/* oklch */ color: oklch(38.5% 0.119 293.3);
Tailwind
colors: {
  custom: {
    50: '#7f6ba2',
    500: '#48337c',
    950: '#000000',
  },
}
SCSS
$custom: #48337c;
$custom-light: #7f6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#48337c",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 257.26,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38488,
    "c": 0.1189,
    "h": 293.3
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#48337C
secondary
#94A962
accent
#D256AE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #48337C

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

Preview Lab → · Contrast checker → · Palette generator →

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