#48349D#48349D

#48349D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.162 H 285.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#48349D
RGBrgb(72, 52, 157)
HSLhsl(251, 50%, 41%)
HSVhsv(251, 67%, 62%)
CMYKcmyk(54.1%, 66.9%, 0%, 38.4%)
CIE-LABlab(30.08, 37.31, -54.32)
CIE-LCHlch(30.08, 65.90, 304.48°)
OKLaboklab(41.32% 0.0436 -0.156)
OKLCHoklch(41.32% 0.162 285.6)
XYZxyz(9.9845, 6.2675, 32.5754)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48349D #899D34
analogous
#34549D #48349D #7C349D
triadic
#48349D #9D4834 #349D48
tetradic
#48349D #9D3454 #899D34 #349D7C
square
#48349D #9D3454 #899D34 #349D7C
split-complementary
#48349D #9D7C34 #549D34
monochromatic
#1E1641 #33256F #48349D #624BC3 #8A79D3

Accessibility & contrast

On white

9.32
#48349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#48349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48349D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48349D#FFFFFF#000000##FFFFFF
##48349D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#254E64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #48349d;
/* rgb */ color: rgb(72, 52, 157);
/* oklch */ color: oklch(41.3% 0.162 285.6);
Tailwind
colors: {
  custom: {
    50: '#836dbb',
    500: '#48349d',
    950: '#000000',
  },
}
SCSS
$custom: #48349d;
$custom-light: #836dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#48349d",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 251.429,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.16197,
    "h": 285.6
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#48349D
secondary
#ADBB72
accent
#DA4EBF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #48349D

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

Preview Lab → · Contrast checker → · Palette generator →

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