#6046BF#6046BF

#6046BF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.181 H 287.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6046BF
RGBrgb(96, 70, 191)
HSLhsl(253, 49%, 51%)
HSVhsv(253, 63%, 75%)
CMYKcmyk(49.7%, 63.4%, 0%, 25.1%)
CIE-LABlab(38.95, 41.61, -60.04)
CIE-LCHlch(38.95, 73.05, 304.72°)
OKLaboklab(49.14% 0.055 -0.172)
OKLCHoklch(49.14% 0.181 287.7)
XYZxyz(16.4153, 10.6280, 50.4666)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046BF #A5BF46
analogous
#4668BF #6046BF #9C46BF
triadic
#6046BF #BF6046 #46BF60
tetradic
#6046BF #BF4668 #A5BF46 #46BF9C
square
#6046BF #BF4668 #A5BF46 #46BF9C
split-complementary
#6046BF #BF9C46 #68BF46
monochromatic
#322467 #483394 #6046BF #8773CF #AEA1DE

Accessibility & contrast

On white

6.72
#6046BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6046BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046BF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046BF#FFFFFF#000000##FFFFFF
##6046BF1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#3F637C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6046bf;
/* rgb */ color: rgb(96, 70, 191);
/* oklch */ color: oklch(49.1% 0.181 287.7);
Tailwind
colors: {
  custom: {
    50: '#957bd3',
    500: '#6046bf',
    950: '#000000',
  },
}
SCSS
$custom: #6046bf;
$custom-light: #957bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6046bf",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 252.893,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49137,
    "c": 0.18058,
    "h": 287.7
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#6046BF
secondary
#C0CB96
accent
#D850BB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6046BF

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

Preview Lab → · Contrast checker → · Palette generator →

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