#48256A#48256A

#48256A is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.8% C 0.117 H 304.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#48256A
RGBrgb(72, 37, 106)
HSLhsl(270, 48%, 28%)
HSVhsv(270, 65%, 42%)
CMYKcmyk(32.1%, 65.1%, 0%, 58.4%)
CIE-LABlab(22.80, 31.13, -34.15)
CIE-LCHlch(22.80, 46.21, 312.35°)
OKLaboklab(34.79% 0.0661 -0.0967)
OKLCHoklch(34.79% 0.117 304.3)
XYZxyz(5.9350, 3.7415, 14.0424)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48256A #476A25
analogous
#25256A #48256A #6A2569
triadic
#48256A #6A4825 #256A48
tetradic
#48256A #6A2525 #476A25 #25696A
square
#48256A #6A2525 #476A25 #25696A
split-complementary
#48256A #696A25 #256A25
monochromatic
#0F0817 #29153D #48256A #673597 #864AC0

Accessibility & contrast

On white

12.01
#48256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#48256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48256A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48256A#FFFFFF#000000##FFFFFF
##48256A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366C
Deuteranopia (green-blind)
#143668
Tritanopia (blue-blind)
#423343
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #48256a;
/* rgb */ color: rgb(72, 37, 106);
/* oklch */ color: oklch(34.8% 0.117 304.3);
Tailwind
colors: {
  custom: {
    50: '#7e6295',
    500: '#48256a',
    950: '#000000',
  },
}
SCSS
$custom: #48256a;
$custom-light: #7e6295;
$custom-dark: #000000;
JSON
{
  "hex": "#48256a",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 270.435,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34786,
    "c": 0.1171,
    "h": 304.3
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#48256A
secondary
#759D4E
accent
#D85093
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #48256A

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

Preview Lab → · Contrast checker → · Palette generator →

#48256A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva