#48239E#48239E

#48239E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.183 H 288.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#48239E
RGBrgb(72, 35, 158)
HSLhsl(258, 64%, 38%)
HSVhsv(258, 78%, 62%)
CMYKcmyk(54.4%, 77.8%, 0%, 38%)
CIE-LABlab(26.87, 46.79, -60.18)
CIE-LCHlch(26.87, 76.23, 307.87°)
OKLaboklab(39.07% 0.0582 -0.1731)
OKLCHoklch(39.07% 0.183 288.6)
XYZxyz(9.4433, 5.0479, 32.8179)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48239E #799E23
analogous
#233B9E #48239E #86239E
triadic
#48239E #9E4823 #239E48
tetradic
#48239E #9E233B #799E23 #239E86
square
#48239E #9E233B #799E23 #239E86
split-complementary
#48239E #9E8623 #3B9E23
monochromatic
#1A0D3A #31186C #48239E #5F2ED0 #8560DC

Accessibility & contrast

On white

10.45
#48239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#48239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48239E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48239E#FFFFFF#000000##FFFFFF
##48239E1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#264660
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48239e;
/* rgb */ color: rgb(72, 35, 158);
/* oklch */ color: oklch(39.1% 0.183 288.6);
Tailwind
colors: {
  custom: {
    50: '#8563bc',
    500: '#48239e',
    950: '#000000',
  },
}
SCSS
$custom: #48239e;
$custom-light: #8563bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48239e",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 258.049,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39066,
    "c": 0.18262,
    "h": 288.6
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#48239E
secondary
#A2C15C
accent
#E741B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48239E

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

Preview Lab → · Contrast checker → · Palette generator →

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