#48248E#48248E

#48248E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.163 H 292.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#48248E
RGBrgb(72, 36, 142)
HSLhsl(260, 60%, 35%)
HSVhsv(260, 75%, 56%)
CMYKcmyk(49.3%, 74.6%, 0%, 44.3%)
CIE-LABlab(25.54, 41.74, -52.52)
CIE-LCHlch(25.54, 67.09, 308.48°)
OKLaboklab(37.67% 0.0617 -0.1507)
OKLCHoklch(37.67% 0.163 292.3)
XYZxyz(8.1845, 4.5922, 26.0411)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48248E #6A8E24
analogous
#24358E #48248E #7D248E
triadic
#48248E #8E4824 #248E48
tetradic
#48248E #8E2435 #6A8E24 #248E7D
square
#48248E #8E2435 #6A8E24 #248E7D
split-complementary
#48248E #8E7D24 #358E24
monochromatic
#160B2C #2F185D #48248E #6130BF #8258D5

Accessibility & contrast

On white

10.95
#48248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48248E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48248E#FFFFFF#000000##FFFFFF
##48248E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#324057
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48248e;
/* rgb */ color: rgb(72, 36, 142);
/* oklch */ color: oklch(37.7% 0.163 292.3);
Tailwind
colors: {
  custom: {
    50: '#8262b0',
    500: '#48248e',
    950: '#000000',
  },
}
SCSS
$custom: #48248e;
$custom-light: #8262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48248e",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 260.377,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3767,
    "c": 0.1628,
    "h": 292.3
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#48248E
secondary
#97B955
accent
#E345AD
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #48248E

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

Preview Lab → · Contrast checker → · Palette generator →

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