#48349B#48349B

#48349B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.159 H 286.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#48349B
RGBrgb(72, 52, 155)
HSLhsl(252, 50%, 41%)
HSVhsv(252, 66%, 61%)
CMYKcmyk(53.5%, 66.5%, 0%, 39.2%)
CIE-LABlab(29.91, 36.69, -53.38)
CIE-LCHlch(29.91, 64.77, 304.50°)
OKLaboklab(41.15% 0.0439 -0.1532)
OKLCHoklch(41.15% 0.159 286)
XYZxyz(9.8151, 6.1997, 31.6835)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48349B #879B34
analogous
#34549B #48349B #7B349B
triadic
#48349B #9B4834 #349B48
tetradic
#48349B #9B3454 #879B34 #349B7B
square
#48349B #9B3454 #879B34 #349B7B
split-complementary
#48349B #9B7B34 #549B34
monochromatic
#1D153F #33256D #48349B #614AC2 #8978D2

Accessibility & contrast

On white

9.38
#48349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#48349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48349B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48349B#FFFFFF#000000##FFFFFF
##48349B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#274E63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #48349b;
/* rgb */ color: rgb(72, 52, 155);
/* oklch */ color: oklch(41.1% 0.159 286.0);
Tailwind
colors: {
  custom: {
    50: '#836db9',
    500: '#48349b',
    950: '#000000',
  },
}
SCSS
$custom: #48349b;
$custom-light: #836db9;
$custom-dark: #000000;
JSON
{
  "hex": "#48349b",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 251.65,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.15936,
    "h": 286
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#48349B
secondary
#ACBA71
accent
#D94FBE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #48349B

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

Preview Lab → · Contrast checker → · Palette generator →

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