#48349F#48349F

#48349F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.165 H 285.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#48349F
RGBrgb(72, 52, 159)
HSLhsl(251, 51%, 41%)
HSVhsv(251, 67%, 62%)
CMYKcmyk(54.7%, 67.3%, 0%, 37.6%)
CIE-LABlab(30.25, 37.93, -55.26)
CIE-LCHlch(30.25, 67.03, 304.47°)
OKLaboklab(41.49% 0.0433 -0.1587)
OKLCHoklch(41.49% 0.165 285.3)
XYZxyz(10.1566, 6.3363, 33.4820)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48349F #8B9F34
analogous
#34569F #48349F #7E349F
triadic
#48349F #9F4834 #349F48
tetradic
#48349F #9F3456 #8B9F34 #349F7E
square
#48349F #9F3456 #8B9F34 #349F7E
split-complementary
#48349F #9F7E34 #569F34
monochromatic
#1E1643 #332571 #48349F #624CC4 #8B7AD3

Accessibility & contrast

On white

9.26
#48349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#48349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48349F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48349F#FFFFFF#000000##FFFFFF
##48349F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#234F65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #48349f;
/* rgb */ color: rgb(72, 52, 159);
/* oklch */ color: oklch(41.5% 0.165 285.3);
Tailwind
colors: {
  custom: {
    50: '#846dbc',
    500: '#48349f',
    950: '#000000',
  },
}
SCSS
$custom: #48349f;
$custom-light: #846dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#48349f",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 251.215,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41492,
    "c": 0.16456,
    "h": 285.3
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#48349F
secondary
#AEBC73
accent
#DA4EC0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #48349F

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

Preview Lab → · Contrast checker → · Palette generator →

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