#48238D#48238D

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

Color values

HEX#48238D
RGBrgb(72, 35, 141)
HSLhsl(261, 60%, 35%)
HSVhsv(261, 75%, 55%)
CMYKcmyk(48.9%, 75.2%, 0%, 44.7%)
CIE-LABlab(25.27, 41.97, -52.35)
CIE-LCHlch(25.27, 67.10, 308.72°)
OKLaboklab(37.45% 0.0628 -0.1501)
OKLCHoklch(37.45% 0.163 292.7)
XYZxyz(8.0799, 4.5026, 25.6375)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48238D #688D23
analogous
#23338D #48238D #7D238D
triadic
#48238D #8D4823 #238D48
tetradic
#48238D #8D2333 #688D23 #238D7D
square
#48238D #8D2333 #688D23 #238D7D
split-complementary
#48238D #8D7D23 #338D23
monochromatic
#160B2B #2F175C #48238D #612FBE #8255D5

Accessibility & contrast

On white

11.05
#48238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#48238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48238D
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48238D#FFFFFF#000000##FFFFFF
##48238D1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#323F56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48238d;
/* rgb */ color: rgb(72, 35, 141);
/* oklch */ color: oklch(37.5% 0.163 292.7);
Tailwind
colors: {
  custom: {
    50: '#8262af',
    500: '#48238d',
    950: '#000000',
  },
}
SCSS
$custom: #48238d;
$custom-light: #8262af;
$custom-dark: #000000;
JSON
{
  "hex": "#48238d",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 260.943,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3745,
    "c": 0.16276,
    "h": 292.7
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#48238D
secondary
#95B953
accent
#E344AC
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48238D

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

Preview Lab → · Contrast checker → · Palette generator →

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