#6048BC#6048BC

#6048BC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.2% C 0.174 H 287.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6048BC
RGBrgb(96, 72, 188)
HSLhsl(252, 46%, 51%)
HSVhsv(252, 62%, 74%)
CMYKcmyk(48.9%, 61.7%, 0%, 26.3%)
CIE-LABlab(39.16, 39.56, -57.94)
CIE-LCHlch(39.16, 70.16, 304.32°)
OKLaboklab(49.22% 0.0531 -0.1658)
OKLCHoklch(49.22% 0.174 287.7)
XYZxyz(16.2157, 10.7517, 48.7881)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048BC #A4BC48
analogous
#486ABC #6048BC #9A48BC
triadic
#6048BC #BC6048 #48BC60
tetradic
#6048BC #BC486A #A4BC48 #48BC9A
square
#6048BC #BC486A #A4BC48 #48BC9A
split-complementary
#6048BC #BC9A48 #6ABC48
monochromatic
#322565 #483592 #6048BC #8775CC #AEA2DD

Accessibility & contrast

On white

6.67
#6048BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6048BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048BC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048BC#FFFFFF#000000##FFFFFF
##6048BC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#40637B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6048bc;
/* rgb */ color: rgb(96, 72, 188);
/* oklch */ color: oklch(49.2% 0.174 287.7);
Tailwind
colors: {
  custom: {
    50: '#947cd1',
    500: '#6048bc',
    950: '#000000',
  },
}
SCSS
$custom: #6048bc;
$custom-light: #947cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6048bc",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 252.414,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49221,
    "c": 0.17412,
    "h": 287.7
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#6048BC
secondary
#BFCA96
accent
#D652BB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6048BC

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

Preview Lab → · Contrast checker → · Palette generator →

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