#48218A#48218A

#48218A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.162 H 293.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#48218A
RGBrgb(72, 33, 138)
HSLhsl(262, 61%, 34%)
HSVhsv(262, 76%, 54%)
CMYKcmyk(47.8%, 76.1%, 0%, 45.9%)
CIE-LABlab(24.64, 42.13, -51.51)
CIE-LCHlch(24.64, 66.55, 309.28°)
OKLaboklab(36.92% 0.0654 -0.1477)
OKLCHoklch(36.92% 0.162 293.9)
XYZxyz(7.8025, 4.3002, 24.4587)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48218A #638A21
analogous
#212E8A #48218A #7C218A
triadic
#48218A #8A4821 #218A48
tetradic
#48218A #8A212E #638A21 #218A7C
square
#48218A #8A212E #638A21 #218A7C
split-complementary
#48218A #8A7C21 #2E8A21
monochromatic
#140927 #2E1559 #48218A #622DBB #8250D5

Accessibility & contrast

On white

11.29
#48218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#48218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48218A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48218A#FFFFFF#000000##FFFFFF
##48218A1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#343D54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48218a;
/* rgb */ color: rgb(72, 33, 138);
/* oklch */ color: oklch(36.9% 0.162 293.9);
Tailwind
colors: {
  custom: {
    50: '#8260ad',
    500: '#48218a',
    950: '#000000',
  },
}
SCSS
$custom: #48218a;
$custom-light: #8260ad;
$custom-dark: #000000;
JSON
{
  "hex": "#48218a",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 262.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36923,
    "c": 0.1615,
    "h": 293.9
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#48218A
secondary
#91B94E
accent
#E543A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48218A

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

Preview Lab → · Contrast checker → · Palette generator →

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