#48248F#48248F

#48248F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.164 H 292.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#48248F
RGBrgb(72, 36, 143)
HSLhsl(260, 60%, 35%)
HSVhsv(260, 75%, 56%)
CMYKcmyk(49.7%, 74.8%, 0%, 43.9%)
CIE-LABlab(25.63, 42.03, -53.00)
CIE-LCHlch(25.63, 67.64, 308.42°)
OKLaboklab(37.76% 0.0614 -0.152)
OKLCHoklch(37.76% 0.164 292)
XYZxyz(8.2599, 4.6223, 26.4383)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48248F #6B8F24
analogous
#24358F #48248F #7E248F
triadic
#48248F #8F4824 #248F48
tetradic
#48248F #8F2435 #6B8F24 #248F7E
square
#48248F #8F2435 #6B8F24 #248F7E
split-complementary
#48248F #8F7E24 #358F24
monochromatic
#170B2D #2F185E #48248F #6130C0 #8258D5

Accessibility & contrast

On white

10.91
#48248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#48248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48248F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48248F#FFFFFF#000000##FFFFFF
##48248F1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#314057
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48248f;
/* rgb */ color: rgb(72, 36, 143);
/* oklch */ color: oklch(37.8% 0.164 292.0);
Tailwind
colors: {
  custom: {
    50: '#8262b1',
    500: '#48248f',
    950: '#000000',
  },
}
SCSS
$custom: #48248f;
$custom-light: #8262b1;
$custom-dark: #000000;
JSON
{
  "hex": "#48248f",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 260.187,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37762,
    "c": 0.16399,
    "h": 292
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#48248F
secondary
#98B955
accent
#E345AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #48248F

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

Preview Lab → · Contrast checker → · Palette generator →

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