#48239B#48239B

#48239B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.179 H 289.3°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#48239B
RGBrgb(72, 35, 155)
HSLhsl(259, 63%, 37%)
HSVhsv(259, 77%, 61%)
CMYKcmyk(53.5%, 77.4%, 0%, 39.2%)
CIE-LABlab(26.58, 45.94, -58.83)
CIE-LCHlch(26.58, 74.64, 307.99°)
OKLaboklab(38.77% 0.0591 -0.1691)
OKLCHoklch(38.77% 0.179 289.3)
XYZxyz(9.1882, 4.9459, 31.4745)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48239B #769B23
analogous
#233A9B #48239B #84239B
triadic
#48239B #9B4823 #239B48
tetradic
#48239B #9B233A #769B23 #239B84
square
#48239B #9B233A #769B23 #239B84
split-complementary
#48239B #9B8423 #3A9B23
monochromatic
#1A0C37 #311869 #48239B #5F2ECD #845EDB

Accessibility & contrast

On white

10.56
#48239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#48239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48239B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48239B#FFFFFF#000000##FFFFFF
##48239B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#28455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48239b;
/* rgb */ color: rgb(72, 35, 155);
/* oklch */ color: oklch(38.8% 0.179 289.3);
Tailwind
colors: {
  custom: {
    50: '#8462ba',
    500: '#48239b',
    950: '#000000',
  },
}
SCSS
$custom: #48239b;
$custom-light: #8462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48239b",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 258.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38774,
    "c": 0.17916,
    "h": 289.3
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#48239B
secondary
#A0BF5A
accent
#E642B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48239B

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

Preview Lab → · Contrast checker → · Palette generator →

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