#48339C#48339C

#48339C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.162 H 286.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#48339C
RGBrgb(72, 51, 156)
HSLhsl(252, 51%, 41%)
HSVhsv(252, 67%, 61%)
CMYKcmyk(53.8%, 67.3%, 0%, 38.8%)
CIE-LABlab(29.78, 37.59, -54.20)
CIE-LCHlch(29.78, 65.96, 304.74°)
OKLaboklab(41.07% 0.0447 -0.1556)
OKLCHoklch(41.07% 0.162 286)
XYZxyz(9.8553, 6.1452, 32.1129)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48339C #879C33
analogous
#33529C #48339C #7C339C
triadic
#48339C #9C4833 #339C48
tetradic
#48339C #9C3352 #879C33 #339C7C
square
#48339C #9C3352 #879C33 #339C7C
split-complementary
#48339C #9C7C33 #529C33
monochromatic
#1D1540 #33246E #48339C #6149C3 #8977D3

Accessibility & contrast

On white

9.42
#48339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#48339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48339C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48339C#FFFFFF#000000##FFFFFF
##48339C1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#264D63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #48339c;
/* rgb */ color: rgb(72, 51, 156);
/* oklch */ color: oklch(41.1% 0.162 286.0);
Tailwind
colors: {
  custom: {
    50: '#836cba',
    500: '#48339c',
    950: '#000000',
  },
}
SCSS
$custom: #48339c;
$custom-light: #836cba;
$custom-dark: #000000;
JSON
{
  "hex": "#48339c",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 252,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.16195,
    "h": 286
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#48339C
secondary
#ACBB70
accent
#DA4EBE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #48339C

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

Preview Lab → · Contrast checker → · Palette generator →

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