#48299C#48299C

#48299C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.174 H 288.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#48299C
RGBrgb(72, 41, 156)
HSLhsl(256, 58%, 39%)
HSVhsv(256, 74%, 61%)
CMYKcmyk(53.8%, 73.7%, 0%, 38.8%)
CIE-LABlab(27.75, 43.19, -57.52)
CIE-LCHlch(27.75, 71.93, 306.90°)
OKLaboklab(39.62% 0.0539 -0.1654)
OKLCHoklch(39.62% 0.174 288.1)
XYZxyz(9.4644, 5.3634, 31.9826)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48299C #7D9C29
analogous
#29439C #48299C #81299C
triadic
#48299C #9C4829 #299C48
tetradic
#48299C #9C2943 #7D9C29 #299C81
square
#48299C #9C2943 #7D9C29 #299C81
split-complementary
#48299C #9C8129 #439C29
monochromatic
#1B103B #321C6C #48299C #5F38CB #8668D7

Accessibility & contrast

On white

10.13
#48299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#48299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48299C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48299C#FFFFFF#000000##FFFFFF
##48299C1.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)
#00449F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#274860
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48299c;
/* rgb */ color: rgb(72, 41, 156);
/* oklch */ color: oklch(39.6% 0.174 288.1);
Tailwind
colors: {
  custom: {
    50: '#8466ba',
    500: '#48299c',
    950: '#000000',
  },
}
SCSS
$custom: #48299c;
$custom-light: #8466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48299c",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 256.174,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39623,
    "c": 0.17393,
    "h": 288.1
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#48299C
secondary
#A5BE63
accent
#E246B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48299C

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

Preview Lab → · Contrast checker → · Palette generator →

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