#48226F#48226F

#48226F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.128 H 302.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#48226F
RGBrgb(72, 34, 111)
HSLhsl(270, 53%, 28%)
HSVhsv(270, 69%, 44%)
CMYKcmyk(35.1%, 69.4%, 0%, 56.5%)
CIE-LABlab(22.55, 34.18, -37.79)
CIE-LCHlch(22.55, 50.95, 312.12°)
OKLaboklab(34.72% 0.0695 -0.1074)
OKLCHoklch(34.72% 0.128 302.9)
XYZxyz(6.1131, 3.6695, 15.4221)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48226F #496F22
analogous
#22236F #48226F #6E226F
triadic
#48226F #6F4822 #226F48
tetradic
#48226F #6F2223 #496F22 #226F6E
square
#48226F #6F2223 #496F22 #226F6E
split-complementary
#48226F #6F6E22 #236F22
monochromatic
#0F0717 #2A1440 #48226F #66309E #8545C6

Accessibility & contrast

On white

12.11
#48226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#48226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48226F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48226F#FFFFFF#000000##FFFFFF
##48226F1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#04366D
Tritanopia (blue-blind)
#403345
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #48226f;
/* rgb */ color: rgb(72, 34, 111);
/* oklch */ color: oklch(34.7% 0.128 302.9);
Tailwind
colors: {
  custom: {
    50: '#7f6099',
    500: '#48226f',
    950: '#000000',
  },
}
SCSS
$custom: #48226f;
$custom-light: #7f6099;
$custom-dark: #000000;
JSON
{
  "hex": "#48226f",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 269.61,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34723,
    "c": 0.12791,
    "h": 302.9
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#48226F
secondary
#77A24A
accent
#DD4B95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #48226F

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

Preview Lab → · Contrast checker → · Palette generator →

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