#48228F#48228F

#48228F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.166 H 292.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#48228F
RGBrgb(72, 34, 143)
HSLhsl(261, 62%, 35%)
HSVhsv(261, 76%, 56%)
CMYKcmyk(49.7%, 76.2%, 0%, 43.9%)
CIE-LABlab(25.27, 43.04, -53.58)
CIE-LCHlch(25.27, 68.72, 308.77°)
OKLaboklab(37.51% 0.0632 -0.1537)
OKLCHoklch(37.51% 0.166 292.3)
XYZxyz(8.2011, 4.5047, 26.4187)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48228F #698F22
analogous
#22338F #48228F #7E228F
triadic
#48228F #8F4822 #228F48
tetradic
#48228F #8F2233 #698F22 #228F7E
square
#48228F #8F2233 #698F22 #228F7E
split-complementary
#48228F #8F7E22 #338F22
monochromatic
#160A2C #2F165E #48228F #612EC0 #8255D7

Accessibility & contrast

On white

11.05
#48228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#48228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48228F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48228F#FFFFFF#000000##FFFFFF
##48228F1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#313F57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48228f;
/* rgb */ color: rgb(72, 34, 143);
/* oklch */ color: oklch(37.5% 0.166 292.3);
Tailwind
colors: {
  custom: {
    50: '#8361b1',
    500: '#48228f',
    950: '#000000',
  },
}
SCSS
$custom: #48228f;
$custom-light: #8361b1;
$custom-dark: #000000;
JSON
{
  "hex": "#48228f",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 260.917,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37511,
    "c": 0.16624,
    "h": 292.3
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#48228F
secondary
#96BA52
accent
#E543AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #48228F

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

Preview Lab → · Contrast checker → · Palette generator →

#48228F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva