#48339E#48339E

#48339E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.165 H 285.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#48339E
RGBrgb(72, 51, 158)
HSLhsl(252, 51%, 41%)
HSVhsv(252, 68%, 62%)
CMYKcmyk(54.4%, 67.7%, 0%, 38%)
CIE-LABlab(29.94, 38.21, -55.14)
CIE-LCHlch(29.94, 67.09, 304.72°)
OKLaboklab(41.25% 0.0444 -0.1584)
OKLCHoklch(41.25% 0.165 285.7)
XYZxyz(10.0260, 6.2135, 33.0121)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48339E #899E33
analogous
#33539E #48339E #7D339E
triadic
#48339E #9E4833 #339E48
tetradic
#48339E #9E3353 #899E33 #339E7D
square
#48339E #9E3353 #899E33 #339E7D
split-complementary
#48339E #9E7D33 #539E33
monochromatic
#1E1541 #332470 #48339E #624AC4 #8A78D3

Accessibility & contrast

On white

9.36
#48339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#48339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48339E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48339E#FFFFFF#000000##FFFFFF
##48339E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#244E64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #48339e;
/* rgb */ color: rgb(72, 51, 158);
/* oklch */ color: oklch(41.2% 0.165 285.7);
Tailwind
colors: {
  custom: {
    50: '#846cbc',
    500: '#48339e',
    950: '#000000',
  },
}
SCSS
$custom: #48339e;
$custom-light: #846cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#48339e",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 251.776,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.16453,
    "h": 285.7
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #48339E

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

Preview Lab → · Contrast checker → · Palette generator →

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