#48245D#48245D

#48245D is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.7% C 0.102 H 311.3°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#48245D
RGBrgb(72, 36, 93)
HSLhsl(278, 44%, 25%)
HSVhsv(278, 61%, 36%)
CMYKcmyk(22.6%, 61.3%, 0%, 63.5%)
CIE-LABlab(21.69, 28.31, -27.42)
CIE-LCHlch(21.69, 39.41, 315.92°)
OKLaboklab(33.69% 0.0675 -0.0769)
OKLCHoklch(33.69% 0.102 311.3)
XYZxyz(5.2788, 3.4299, 10.7378)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48245D #395D24
analogous
#2C245D #48245D #5D2455
triadic
#48245D #5D4824 #245D48
tetradic
#48245D #5D2C24 #395D24 #24555D
square
#48245D #5D2C24 #395D24 #24555D
split-complementary
#48245D #555D24 #245D2C
monochromatic
#110916 #261331 #48245D #6A3589 #8C46B5

Accessibility & contrast

On white

12.46
#48245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#48245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48245D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48245D#FFFFFF#000000##FFFFFF
##48245D1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325F
Deuteranopia (green-blind)
#1F355C
Tritanopia (blue-blind)
#462E3C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #48245d;
/* rgb */ color: rgb(72, 36, 93);
/* oklch */ color: oklch(33.7% 0.102 311.3);
Tailwind
colors: {
  custom: {
    50: '#7d608b',
    500: '#48245d',
    950: '#000000',
  },
}
SCSS
$custom: #48245d;
$custom-light: #7d608b;
$custom-dark: #000000;
JSON
{
  "hex": "#48245d",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 277.895,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33692,
    "c": 0.10237,
    "h": 311.3
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#48245D
secondary
#65914C
accent
#D45483
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #48245D

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

Preview Lab → · Contrast checker → · Palette generator →

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