#6048AD#6048AD

#6048AD is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.1% C 0.155 H 290.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6048AD
RGBrgb(96, 72, 173)
HSLhsl(254, 41%, 48%)
HSVhsv(254, 58%, 68%)
CMYKcmyk(44.5%, 58.4%, 0%, 32.2%)
CIE-LABlab(38.09, 35.13, -50.83)
CIE-LCHlch(38.09, 61.79, 304.66°)
OKLaboklab(48.1% 0.0537 -0.1449)
OKLCHoklch(48.1% 0.155 290.3)
XYZxyz(14.6820, 10.1382, 40.7103)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048AD #95AD48
analogous
#4863AD #6048AD #9248AD
triadic
#6048AD #AD6048 #48AD60
tetradic
#6048AD #AD4863 #95AD48 #48AD92
square
#6048AD #AD4863 #95AD48 #48AD92
split-complementary
#6048AD #AD9248 #63AD48
monochromatic
#302457 #483682 #6048AD #836FC3 #A89AD5

Accessibility & contrast

On white

6.94
#6048AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6048AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048AD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048AD#FFFFFF#000000##FFFFFF
##6048AD1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015BB0
Deuteranopia (green-blind)
#0B57AB
Tritanopia (blue-blind)
#495E73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6048ad;
/* rgb */ color: rgb(96, 72, 173);
/* oklch */ color: oklch(48.1% 0.155 290.3);
Tailwind
colors: {
  custom: {
    50: '#927cc6',
    500: '#6048ad',
    950: '#000000',
  },
}
SCSS
$custom: #6048ad;
$custom-light: #927cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6048ad",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 254.257,
    "s": 41.224,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.15452,
    "h": 290.3
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#6048AD
secondary
#B6C18F
accent
#D157B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #6048AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6048AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva