#48248C#48248C

#48248C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.160 H 292.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#48248C
RGBrgb(72, 36, 140)
HSLhsl(261, 59%, 35%)
HSVhsv(261, 74%, 55%)
CMYKcmyk(48.6%, 74.3%, 0%, 45.1%)
CIE-LABlab(25.36, 41.17, -51.58)
CIE-LCHlch(25.36, 66.00, 308.60°)
OKLaboklab(37.49% 0.0621 -0.1479)
OKLCHoklch(37.49% 0.16 292.8)
XYZxyz(8.0357, 4.5327, 25.2574)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48248C #688C24
analogous
#24348C #48248C #7C248C
triadic
#48248C #8C4824 #248C48
tetradic
#48248C #8C2434 #688C24 #248C7C
square
#48248C #8C2434 #688C24 #248C7C
split-complementary
#48248C #8C7C24 #348C24
monochromatic
#160B2B #2F175B #48248C #6131BD #8257D4

Accessibility & contrast

On white

11.01
#48248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#48248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48248C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48248C#FFFFFF#000000##FFFFFF
##48248C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#333F56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48248c;
/* rgb */ color: rgb(72, 36, 140);
/* oklch */ color: oklch(37.5% 0.160 292.8);
Tailwind
colors: {
  custom: {
    50: '#8262af',
    500: '#48248c',
    950: '#000000',
  },
}
SCSS
$custom: #48248c;
$custom-light: #8262af;
$custom-dark: #000000;
JSON
{
  "hex": "#48248c",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 260.769,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37487,
    "c": 0.16041,
    "h": 292.8
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#48248C
secondary
#95B854
accent
#E246AC
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48248C

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

Preview Lab → · Contrast checker → · Palette generator →

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