#48289D#48289D

#48289D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.176 H 288.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#48289D
RGBrgb(72, 40, 157)
HSLhsl(256, 59%, 39%)
HSVhsv(256, 75%, 62%)
CMYKcmyk(54.1%, 74.5%, 0%, 38.4%)
CIE-LABlab(27.65, 44.01, -58.29)
CIE-LCHlch(27.65, 73.03, 307.05°)
OKLaboklab(39.59% 0.0545 -0.1676)
OKLCHoklch(39.59% 0.176 288)
XYZxyz(9.5153, 5.3292, 32.4190)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48289D #7D9D28
analogous
#28429D #48289D #82289D
triadic
#48289D #9D4828 #289D48
tetradic
#48289D #9D2842 #7D9D28 #289D82
square
#48289D #9D2842 #7D9D28 #289D82
split-complementary
#48289D #9D8228 #429D28
monochromatic
#1B0F3B #321C6C #48289D #5F36CC #8667D8

Accessibility & contrast

On white

10.16
#48289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#48289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48289D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48289D#FFFFFF#000000##FFFFFF
##48289D1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#264860
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48289d;
/* rgb */ color: rgb(72, 40, 157);
/* oklch */ color: oklch(39.6% 0.176 288.0);
Tailwind
colors: {
  custom: {
    50: '#8465bb',
    500: '#48289d',
    950: '#000000',
  },
}
SCSS
$custom: #48289d;
$custom-light: #8465bb;
$custom-dark: #000000;
JSON
{
  "hex": "#48289d",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 256.41,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.17624,
    "h": 288
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#48289D
secondary
#A5BE62
accent
#E345B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48289D

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

Preview Lab → · Contrast checker → · Palette generator →

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