#48339A#48339A

#48339A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.159 H 286.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#48339A
RGBrgb(72, 51, 154)
HSLhsl(252, 50%, 40%)
HSVhsv(252, 67%, 60%)
CMYKcmyk(53.2%, 66.9%, 0%, 39.6%)
CIE-LABlab(29.61, 36.97, -53.26)
CIE-LCHlch(29.61, 64.83, 304.77°)
OKLaboklab(40.9% 0.045 -0.1529)
OKLCHoklch(40.9% 0.159 286.4)
XYZxyz(9.6873, 6.0780, 31.2283)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48339A #859A33
analogous
#33519A #48339A #7B339A
triadic
#48339A #9A4833 #339A48
tetradic
#48339A #9A3351 #859A33 #339A7B
square
#48339A #9A3351 #859A33 #339A7B
split-complementary
#48339A #9A7B33 #519A33
monochromatic
#1D153E #33246C #48339A #6148C2 #8976D2

Accessibility & contrast

On white

9.48
#48339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#48339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48339A
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48339A#FFFFFF#000000##FFFFFF
##48339A1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#284D62
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #48339a;
/* rgb */ color: rgb(72, 51, 154);
/* oklch */ color: oklch(40.9% 0.159 286.4);
Tailwind
colors: {
  custom: {
    50: '#836cb9',
    500: '#48339a',
    950: '#000000',
  },
}
SCSS
$custom: #48339a;
$custom-light: #836cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#48339a",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 252.233,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.15935,
    "h": 286.4
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#48339A
secondary
#ABBA6F
accent
#DA4EBD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #48339A

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

Preview Lab → · Contrast checker → · Palette generator →

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