#48286C#48286C

#48286C is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.115 H 302.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#48286C
RGBrgb(72, 40, 108)
HSLhsl(268, 46%, 29%)
HSVhsv(268, 63%, 42%)
CMYKcmyk(33.3%, 63%, 0%, 57.6%)
CIE-LABlab(23.60, 29.91, -34.16)
CIE-LCHlch(23.60, 45.41, 311.20°)
OKLaboklab(35.41% 0.0619 -0.0967)
OKLCHoklch(35.41% 0.115 302.6)
XYZxyz(6.1374, 3.9780, 14.6289)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48286C #4C6C28
analogous
#282A6C #48286C #6A286C
triadic
#48286C #6C4828 #286C48
tetradic
#48286C #6C282A #4C6C28 #286C6A
square
#48286C #6C282A #4C6C28 #286C6A
split-complementary
#48286C #6C6A28 #2A6C28
monochromatic
#0F0816 #2A173F #48286C #663999 #8450BE

Accessibility & contrast

On white

11.70
#48286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#48286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48286C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48286C#FFFFFF#000000##FFFFFF
##48286C1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386E
Deuteranopia (green-blind)
#16386A
Tritanopia (blue-blind)
#413646
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48286c;
/* rgb */ color: rgb(72, 40, 108);
/* oklch */ color: oklch(35.4% 0.115 302.6);
Tailwind
colors: {
  custom: {
    50: '#7e6396',
    500: '#48286c',
    950: '#000000',
  },
}
SCSS
$custom: #48286c;
$custom-light: #7e6396;
$custom-dark: #000000;
JSON
{
  "hex": "#48286c",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 268.235,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35414,
    "c": 0.11484,
    "h": 302.6
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#48286C
secondary
#7A9E51
accent
#D65298
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #48286C

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

Preview Lab → · Contrast checker → · Palette generator →

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