#48245F#48245F

#48245F is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.105 H 310.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#48245F
RGBrgb(72, 36, 95)
HSLhsl(277, 45%, 26%)
HSVhsv(277, 62%, 37%)
CMYKcmyk(24.2%, 62.1%, 0%, 62.7%)
CIE-LABlab(21.82, 28.82, -28.53)
CIE-LCHlch(21.82, 40.56, 315.29°)
OKLaboklab(33.83% 0.0676 -0.0802)
OKLCHoklch(33.83% 0.105 310.1)
XYZxyz(5.3685, 3.4658, 11.2104)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48245F #3B5F24
analogous
#2A245F #48245F #5F2458
triadic
#48245F #5F4824 #245F48
tetradic
#48245F #5F2A24 #3B5F24 #24585F
square
#48245F #5F2A24 #3B5F24 #24585F
split-complementary
#48245F #585F24 #245F2A
monochromatic
#110816 #261333 #48245F #6A358B #8B46B8

Accessibility & contrast

On white

12.40
#48245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48245F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48245F#FFFFFF#000000##FFFFFF
##48245F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103361
Deuteranopia (green-blind)
#1E355E
Tritanopia (blue-blind)
#452F3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #48245f;
/* rgb */ color: rgb(72, 36, 95);
/* oklch */ color: oklch(33.8% 0.105 310.1);
Tailwind
colors: {
  custom: {
    50: '#7d618d',
    500: '#48245f',
    950: '#000000',
  },
}
SCSS
$custom: #48245f;
$custom-light: #7d618d;
$custom-dark: #000000;
JSON
{
  "hex": "#48245f",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 276.61,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3383,
    "c": 0.10487,
    "h": 310.1
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#48245F
secondary
#68934C
accent
#D55386
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #48245F

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

Preview Lab → · Contrast checker → · Palette generator →

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