#48289E#48289E

#48289E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.177 H 287.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#48289E
RGBrgb(72, 40, 158)
HSLhsl(256, 60%, 39%)
HSVhsv(256, 75%, 62%)
CMYKcmyk(54.4%, 74.7%, 0%, 38%)
CIE-LABlab(27.75, 44.30, -58.74)
CIE-LCHlch(27.75, 73.57, 307.02°)
OKLaboklab(39.68% 0.0543 -0.1689)
OKLCHoklch(39.68% 0.177 287.8)
XYZxyz(9.6010, 5.3634, 32.8705)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48289E #7E9E28
analogous
#28439E #48289E #83289E
triadic
#48289E #9E4828 #289E48
tetradic
#48289E #9E2843 #7E9E28 #289E83
square
#48289E #9E2843 #7E9E28 #289E83
split-complementary
#48289E #9E8328 #439E28
monochromatic
#1B0F3C #321C6D #48289E #5F37CC #8668D9

Accessibility & contrast

On white

10.13
#48289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48289E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48289E#FFFFFF#000000##FFFFFF
##48289E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#254861
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48289e;
/* rgb */ color: rgb(72, 40, 158);
/* oklch */ color: oklch(39.7% 0.177 287.8);
Tailwind
colors: {
  custom: {
    50: '#8465bc',
    500: '#48289e',
    950: '#000000',
  },
}
SCSS
$custom: #48289e;
$custom-light: #8465bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48289e",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 256.271,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.17743,
    "h": 287.8
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #48289E

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

Preview Lab → · Contrast checker → · Palette generator →

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