#48239C#48239C

#48239C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.180 H 289.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#48239C
RGBrgb(72, 35, 156)
HSLhsl(258, 63%, 37%)
HSVhsv(258, 78%, 61%)
CMYKcmyk(53.8%, 77.6%, 0%, 38.8%)
CIE-LABlab(26.68, 46.22, -59.28)
CIE-LCHlch(26.68, 75.17, 307.95°)
OKLaboklab(38.87% 0.0588 -0.1704)
OKLCHoklch(38.87% 0.18 289)
XYZxyz(9.2725, 4.9796, 31.9186)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48239C #779C23
analogous
#233B9C #48239C #84239C
triadic
#48239C #9C4823 #239C48
tetradic
#48239C #9C233B #779C23 #239C84
square
#48239C #9C233B #779C23 #239C84
split-complementary
#48239C #9C8423 #3B9C23
monochromatic
#1A0D38 #31186A #48239C #5F2ECE #855EDB

Accessibility & contrast

On white

10.52
#48239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#48239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48239C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48239C#FFFFFF#000000##FFFFFF
##48239C1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#27455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48239c;
/* rgb */ color: rgb(72, 35, 156);
/* oklch */ color: oklch(38.9% 0.180 289.0);
Tailwind
colors: {
  custom: {
    50: '#8462ba',
    500: '#48239c',
    950: '#000000',
  },
}
SCSS
$custom: #48239c;
$custom-light: #8462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48239c",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 258.347,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38871,
    "c": 0.18031,
    "h": 289
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#48239C
secondary
#A1C05B
accent
#E641B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48239C

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

Preview Lab → · Contrast checker → · Palette generator →

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