#48339F#48339F

#48339F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.3% C 0.166 H 285.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#48339F
RGBrgb(72, 51, 159)
HSLhsl(252, 51%, 41%)
HSVhsv(252, 68%, 62%)
CMYKcmyk(54.7%, 67.9%, 0%, 37.6%)
CIE-LABlab(30.03, 38.52, -55.61)
CIE-LCHlch(30.03, 67.65, 304.71°)
OKLaboklab(41.34% 0.0443 -0.1598)
OKLCHoklch(41.34% 0.166 285.5)
XYZxyz(10.1124, 6.2480, 33.4673)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48339F #8A9F33
analogous
#33549F #48339F #7E339F
triadic
#48339F #9F4833 #339F48
tetradic
#48339F #9F3354 #8A9F33 #339F7E
square
#48339F #9F3354 #8A9F33 #339F7E
split-complementary
#48339F #9F7E33 #549F33
monochromatic
#1E1542 #332471 #48339F #624AC5 #8A79D4

Accessibility & contrast

On white

9.33
#48339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#48339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48339F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48339F#FFFFFF#000000##FFFFFF
##48339F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48339f;
/* rgb */ color: rgb(72, 51, 159);
/* oklch */ color: oklch(41.3% 0.166 285.5);
Tailwind
colors: {
  custom: {
    50: '#846cbc',
    500: '#48339f',
    950: '#000000',
  },
}
SCSS
$custom: #48339f;
$custom-light: #846cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#48339f",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 251.667,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41336,
    "c": 0.16581,
    "h": 285.5
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#48339F
secondary
#AEBC71
accent
#DB4DBF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #48339F

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

Preview Lab → · Contrast checker → · Palette generator →

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