#48247B#48247B

#48247B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.140 H 297.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#48247B
RGBrgb(72, 36, 123)
HSLhsl(265, 55%, 31%)
HSVhsv(265, 71%, 48%)
CMYKcmyk(41.5%, 70.7%, 0%, 51.8%)
CIE-LABlab(23.90, 36.37, -43.28)
CIE-LCHlch(23.90, 56.53, 310.05°)
OKLaboklab(35.99% 0.0655 -0.1235)
OKLCHoklch(35.99% 0.14 297.9)
XYZxyz(6.8776, 4.0694, 19.1582)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48247B #577B24
analogous
#242B7B #48247B #73247B
triadic
#48247B #7B4824 #247B48
tetradic
#48247B #7B242B #577B24 #247B73
square
#48247B #7B242B #577B24 #247B73
split-complementary
#48247B #7B7324 #2B7B24
monochromatic
#11081C #2C164C #48247B #6432AA #824ECB

Accessibility & contrast

On white

11.58
#48247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#48247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48247B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48247B#FFFFFF#000000##FFFFFF
##48247B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#3C394C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #48247b;
/* rgb */ color: rgb(72, 36, 123);
/* oklch */ color: oklch(36.0% 0.140 297.9);
Tailwind
colors: {
  custom: {
    50: '#8062a2',
    500: '#48247b',
    950: '#000000',
  },
}
SCSS
$custom: #48247b;
$custom-light: #8062a2;
$custom-dark: #000000;
JSON
{
  "hex": "#48247b",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 264.828,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35994,
    "c": 0.1398,
    "h": 297.9
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#48247B
secondary
#86AD4D
accent
#DE4AA1
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48247B

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

Preview Lab → · Contrast checker → · Palette generator →

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