#48289C#48289C

#48289C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.175 H 288.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#48289C
RGBrgb(72, 40, 156)
HSLhsl(257, 59%, 38%)
HSVhsv(257, 74%, 61%)
CMYKcmyk(53.8%, 74.4%, 0%, 38.8%)
CIE-LABlab(27.56, 43.72, -57.83)
CIE-LCHlch(27.56, 72.49, 307.09°)
OKLaboklab(39.49% 0.0548 -0.1662)
OKLCHoklch(39.49% 0.175 288.2)
XYZxyz(9.4303, 5.2951, 31.9712)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48289C #7C9C28
analogous
#28429C #48289C #82289C
triadic
#48289C #9C4828 #289C48
tetradic
#48289C #9C2842 #7C9C28 #289C82
square
#48289C #9C2842 #7C9C28 #289C82
split-complementary
#48289C #9C8228 #429C28
monochromatic
#1B0F3B #321C6B #48289C #5F36CB #8667D8

Accessibility & contrast

On white

10.20
#48289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#48289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48289C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48289C#FFFFFF#000000##FFFFFF
##48289C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#274760
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48289c;
/* rgb */ color: rgb(72, 40, 156);
/* oklch */ color: oklch(39.5% 0.175 288.2);
Tailwind
colors: {
  custom: {
    50: '#8465ba',
    500: '#48289c',
    950: '#000000',
  },
}
SCSS
$custom: #48289c;
$custom-light: #8465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48289c",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 256.552,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.17504,
    "h": 288.2
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #48289C

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

Preview Lab → · Contrast checker → · Palette generator →

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