#6046BB#6046BB

#6046BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.8% C 0.175 H 288.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6046BB
RGBrgb(96, 70, 187)
HSLhsl(253, 46%, 50%)
HSVhsv(253, 63%, 73%)
CMYKcmyk(48.7%, 62.6%, 0%, 26.7%)
CIE-LABlab(38.65, 40.43, -58.19)
CIE-LCHlch(38.65, 70.85, 304.79°)
OKLaboklab(48.82% 0.0553 -0.1666)
OKLCHoklch(48.82% 0.176 288.4)
XYZxyz(15.9811, 10.4543, 48.1799)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046BB #A1BB46
analogous
#4667BB #6046BB #9A46BB
triadic
#6046BB #BB6046 #46BB60
tetradic
#6046BB #BB4667 #A1BB46 #46BB9A
square
#6046BB #BB4667 #A1BB46 #46BB9A
split-complementary
#6046BB #BB9A46 #67BB46
monochromatic
#322462 #49358F #6046BB #8673CB #ADA0DC

Accessibility & contrast

On white

6.79
#6046BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6046BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046BB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046BB#FFFFFF#000000##FFFFFF
##6046BB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#41627A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6046bb;
/* rgb */ color: rgb(96, 70, 187);
/* oklch */ color: oklch(48.8% 0.175 288.4);
Tailwind
colors: {
  custom: {
    50: '#947bd0',
    500: '#6046bb',
    950: '#000000',
  },
}
SCSS
$custom: #6046bb;
$custom-light: #947bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6046bb",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 253.333,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.1755,
    "h": 288.4
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#6046BB
secondary
#BDC894
accent
#D652B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6046BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6046BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva