#48218B#48218B

#48218B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.163 H 293.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#48218B
RGBrgb(72, 33, 139)
HSLhsl(262, 62%, 34%)
HSVhsv(262, 76%, 55%)
CMYKcmyk(48.2%, 76.3%, 0%, 45.5%)
CIE-LABlab(24.73, 42.41, -51.98)
CIE-LCHlch(24.73, 67.09, 309.21°)
OKLaboklab(37.02% 0.0651 -0.1491)
OKLCHoklch(37.02% 0.163 293.6)
XYZxyz(7.8753, 4.3293, 24.8418)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48218B #648B21
analogous
#212F8B #48218B #7D218B
triadic
#48218B #8B4821 #218B48
tetradic
#48218B #8B212F #648B21 #218B7D
square
#48218B #8B212F #648B21 #218B7D
split-complementary
#48218B #8B7D21 #2F8B21
monochromatic
#150A28 #2E155A #48218B #622DBC #8251D6

Accessibility & contrast

On white

11.25
#48218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#48218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48218B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48218B#FFFFFF#000000##FFFFFF
##48218B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#343D54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48218b;
/* rgb */ color: rgb(72, 33, 139);
/* oklch */ color: oklch(37.0% 0.163 293.6);
Tailwind
colors: {
  custom: {
    50: '#8261ae',
    500: '#48218b',
    950: '#000000',
  },
}
SCSS
$custom: #48218b;
$custom-light: #8261ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48218b",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 262.075,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37016,
    "c": 0.16267,
    "h": 293.6
  },
  "luminance": 0.0433
}

Semantic roles & 50–950 ramp

primary
#48218B
secondary
#92B94F
accent
#E543A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48218B

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

Preview Lab → · Contrast checker → · Palette generator →

#48218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva