#48239F#48239F

#48239F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.184 H 288.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#48239F
RGBrgb(72, 35, 159)
HSLhsl(258, 64%, 38%)
HSVhsv(258, 78%, 62%)
CMYKcmyk(54.7%, 78%, 0%, 37.6%)
CIE-LABlab(26.97, 47.07, -60.63)
CIE-LCHlch(26.97, 76.76, 307.83°)
OKLaboklab(39.16% 0.0579 -0.1744)
OKLCHoklch(39.16% 0.184 288.4)
XYZxyz(9.5297, 5.0825, 33.2730)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48239F #7A9F23
analogous
#233C9F #48239F #86239F
triadic
#48239F #9F4823 #239F48
tetradic
#48239F #9F233C #7A9F23 #239F86
square
#48239F #9F233C #7A9F23 #239F86
split-complementary
#48239F #9F8623 #3C9F23
monochromatic
#1B0D3B #31186D #48239F #5F2ED1 #8560DC

Accessibility & contrast

On white

10.41
#48239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#48239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48239F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48239F#FFFFFF#000000##FFFFFF
##48239F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#254660
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #48239f;
/* rgb */ color: rgb(72, 35, 159);
/* oklch */ color: oklch(39.2% 0.184 288.4);
Tailwind
colors: {
  custom: {
    50: '#8563bc',
    500: '#48239f',
    950: '#000000',
  },
}
SCSS
$custom: #48239f;
$custom-light: #8563bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48239f",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 257.903,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39163,
    "c": 0.18377,
    "h": 288.4
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#48239F
secondary
#A3C15D
accent
#E741B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48239F

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

Preview Lab → · Contrast checker → · Palette generator →

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