#48225C#48225C

#48225C is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.3% C 0.105 H 312.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#48225C
RGBrgb(72, 34, 92)
HSLhsl(279, 46%, 25%)
HSVhsv(279, 63%, 36%)
CMYKcmyk(21.7%, 63%, 0%, 63.9%)
CIE-LABlab(21.19, 29.23, -27.56)
CIE-LCHlch(21.19, 40.17, 316.68°)
OKLaboklab(33.3% 0.0704 -0.0773)
OKLCHoklch(33.3% 0.105 312.3)
XYZxyz(5.1759, 3.2946, 10.4864)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48225C #365C22
analogous
#2B225C #48225C #5C2253
triadic
#48225C #5C4822 #225C48
tetradic
#48225C #5C2B22 #365C22 #22535C
square
#48225C #5C2B22 #365C22 #22535C
split-complementary
#48225C #535C22 #225C2B
monochromatic
#110816 #25112F #48225C #6B3389 #8E43B5

Accessibility & contrast

On white

12.66
#48225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#48225C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48225C
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48225C#FFFFFF#000000##FFFFFF
##48225C1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315E
Deuteranopia (green-blind)
#1E345B
Tritanopia (blue-blind)
#462C3B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #48225c;
/* rgb */ color: rgb(72, 34, 92);
/* oklch */ color: oklch(33.3% 0.105 312.3);
Tailwind
colors: {
  custom: {
    50: '#7d5f8a',
    500: '#48225c',
    950: '#000000',
  },
}
SCSS
$custom: #48225c;
$custom-light: #7d5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#48225c",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 279.31,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33304,
    "c": 0.1046,
    "h": 312.3
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#48225C
secondary
#62904A
accent
#D6527F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #48225C

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

Preview Lab → · Contrast checker → · Palette generator →

#48225C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva