#6048BF#6048BF

#6048BF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.178 H 287.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6048BF
RGBrgb(96, 72, 191)
HSLhsl(252, 48%, 52%)
HSVhsv(252, 62%, 75%)
CMYKcmyk(49.7%, 62.3%, 0%, 25.1%)
CIE-LABlab(39.38, 40.45, -59.34)
CIE-LCHlch(39.38, 71.81, 304.28°)
OKLaboklab(49.45% 0.0529 -0.1699)
OKLCHoklch(49.45% 0.178 287.3)
XYZxyz(16.5425, 10.8824, 50.5090)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048BF #A7BF48
analogous
#486CBF #6048BF #9C48BF
triadic
#6048BF #BF6048 #48BF60
tetradic
#6048BF #BF486C #A7BF48 #48BF9C
square
#6048BF #BF486C #A7BF48 #48BF9C
split-complementary
#6048BF #BF9C48 #6CBF48
monochromatic
#322468 #483496 #6048BF #8775CF #AFA3DF

Accessibility & contrast

On white

6.61
#6048BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6048BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048BF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048BF#FFFFFF#000000##FFFFFF
##6048BF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#3E647D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6048bf;
/* rgb */ color: rgb(96, 72, 191);
/* oklch */ color: oklch(49.5% 0.178 287.3);
Tailwind
colors: {
  custom: {
    50: '#957cd3',
    500: '#6048bf',
    950: '#000000',
  },
}
SCSS
$custom: #6048bf;
$custom-light: #957cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6048bf",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 252.101,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49453,
    "c": 0.17797,
    "h": 287.3
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

primary
#6048BF
secondary
#C1CC97
accent
#D850BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6048BF

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

Preview Lab → · Contrast checker → · Palette generator →

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