#48238E#48238E

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

Color values

HEX#48238E
RGBrgb(72, 35, 142)
HSLhsl(261, 60%, 35%)
HSVhsv(261, 75%, 56%)
CMYKcmyk(49.3%, 75.4%, 0%, 44.3%)
CIE-LABlab(25.36, 42.25, -52.82)
CIE-LCHlch(25.36, 67.64, 308.66°)
OKLaboklab(37.54% 0.0626 -0.1515)
OKLCHoklch(37.54% 0.164 292.4)
XYZxyz(8.1546, 4.5325, 26.0311)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48238E #698E23
analogous
#23338E #48238E #7E238E
triadic
#48238E #8E4823 #238E48
tetradic
#48238E #8E2333 #698E23 #238E7E
square
#48238E #8E2333 #698E23 #238E7E
split-complementary
#48238E #8E7E23 #338E23
monochromatic
#160B2C #2F175D #48238E #612FBF #8256D5

Accessibility & contrast

On white

11.01
#48238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#48238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48238E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48238E#FFFFFF#000000##FFFFFF
##48238E1.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)
#003E91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#324056
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48238e;
/* rgb */ color: rgb(72, 35, 142);
/* oklch */ color: oklch(37.5% 0.164 292.4);
Tailwind
colors: {
  custom: {
    50: '#8262b0',
    500: '#48238e',
    950: '#000000',
  },
}
SCSS
$custom: #48238e;
$custom-light: #8262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48238e",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 260.748,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37543,
    "c": 0.16394,
    "h": 292.4
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#48238E
secondary
#96B953
accent
#E444AC
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #48238E

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

Preview Lab → · Contrast checker → · Palette generator →

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