#48247C#48247C

#48247C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.141 H 297.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#48247C
RGBrgb(72, 36, 124)
HSLhsl(265, 55%, 31%)
HSVhsv(265, 71%, 49%)
CMYKcmyk(41.9%, 71%, 0%, 51.4%)
CIE-LABlab(23.98, 36.65, -43.78)
CIE-LCHlch(23.98, 57.10, 309.94°)
OKLaboklab(36.08% 0.0653 -0.125)
OKLCHoklch(36.08% 0.141 297.6)
XYZxyz(6.9405, 4.0946, 19.4895)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48247C #587C24
analogous
#242C7C #48247C #74247C
triadic
#48247C #7C4824 #247C48
tetradic
#48247C #7C242C #587C24 #247C74
square
#48247C #7C242C #587C24 #247C74
split-complementary
#48247C #7C7424 #2C7C24
monochromatic
#11081D #2C164D #48247C #6432AB #824FCC

Accessibility & contrast

On white

11.54
#48247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#48247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48247C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48247C#FFFFFF#000000##FFFFFF
##48247C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#3B394D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #48247c;
/* rgb */ color: rgb(72, 36, 124);
/* oklch */ color: oklch(36.1% 0.141 297.6);
Tailwind
colors: {
  custom: {
    50: '#8062a3',
    500: '#48247c',
    950: '#000000',
  },
}
SCSS
$custom: #48247c;
$custom-light: #8062a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48247c",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 264.545,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36079,
    "c": 0.14103,
    "h": 297.6
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#48247C
secondary
#87AE4D
accent
#DE49A1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48247C

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

Preview Lab → · Contrast checker → · Palette generator →

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