#48238A#48238A

#48238A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.159 H 293.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#48238A
RGBrgb(72, 35, 138)
HSLhsl(262, 60%, 34%)
HSVhsv(262, 75%, 54%)
CMYKcmyk(47.8%, 74.6%, 0%, 45.9%)
CIE-LABlab(25.00, 41.12, -50.92)
CIE-LCHlch(25.00, 65.46, 308.92°)
OKLaboklab(37.18% 0.0635 -0.146)
OKLCHoklch(37.18% 0.159 293.5)
XYZxyz(7.8597, 4.4145, 24.4778)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48238A #658A23
analogous
#23328A #48238A #7C238A
triadic
#48238A #8A4823 #238A48
tetradic
#48238A #8A2332 #658A23 #238A7C
square
#48238A #8A2332 #658A23 #238A7C
split-complementary
#48238A #8A7C23 #328A23
monochromatic
#150A28 #2F1759 #48238A #612FBB #8254D4

Accessibility & contrast

On white

11.15
#48238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#48238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48238A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48238A#FFFFFF#000000##FFFFFF
##48238A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48238a;
/* rgb */ color: rgb(72, 35, 138);
/* oklch */ color: oklch(37.2% 0.159 293.5);
Tailwind
colors: {
  custom: {
    50: '#8262ad',
    500: '#48238a',
    950: '#000000',
  },
}
SCSS
$custom: #48238a;
$custom-light: #8262ad;
$custom-dark: #000000;
JSON
{
  "hex": "#48238a",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 261.553,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37175,
    "c": 0.1592,
    "h": 293.5
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

primary
#48238A
secondary
#93B751
accent
#E345AA
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48238A

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

Preview Lab → · Contrast checker → · Palette generator →

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