#48267D#48267D

#48267D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.140 H 296.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#48267D
RGBrgb(72, 38, 125)
HSLhsl(263, 53%, 32%)
HSVhsv(263, 70%, 49%)
CMYKcmyk(42.4%, 69.6%, 0%, 51%)
CIE-LABlab(24.46, 35.83, -43.63)
CIE-LCHlch(24.46, 56.46, 309.39°)
OKLaboklab(36.45% 0.0629 -0.1245)
OKLCHoklch(36.45% 0.14 296.8)
XYZxyz(7.0663, 4.2445, 19.8450)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48267D #5B7D26
analogous
#26307D #48267D #74267D
triadic
#48267D #7D4826 #267D48
tetradic
#48267D #7D2630 #5B7D26 #267D74
square
#48267D #7D2630 #5B7D26 #267D74
split-complementary
#48267D #7D7426 #307D26
monochromatic
#12091F #2D184E #48267D #6334AC #8253CB

Accessibility & contrast

On white

11.36
#48267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#48267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48267D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48267D#FFFFFF#000000##FFFFFF
##48267D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#3B3B4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48267d;
/* rgb */ color: rgb(72, 38, 125);
/* oklch */ color: oklch(36.4% 0.140 296.8);
Tailwind
colors: {
  custom: {
    50: '#8063a3',
    500: '#48267d',
    950: '#000000',
  },
}
SCSS
$custom: #48267d;
$custom-light: #8063a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48267d",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 263.448,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.13955,
    "h": 296.8
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#48267D
secondary
#8AAF50
accent
#DD4BA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #48267D

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

Preview Lab → · Contrast checker → · Palette generator →

#48267D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva