#6046BE#6046BE

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

Color values

HEX#6046BE
RGBrgb(96, 70, 190)
HSLhsl(253, 48%, 51%)
HSVhsv(253, 63%, 75%)
CMYKcmyk(49.5%, 63.2%, 0%, 25.5%)
CIE-LABlab(38.87, 41.31, -59.58)
CIE-LCHlch(38.87, 72.50, 304.74°)
OKLaboklab(49.06% 0.055 -0.1706)
OKLCHoklch(49.06% 0.179 287.9)
XYZxyz(16.3056, 10.5841, 49.8890)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046BE #A4BE46
analogous
#4668BE #6046BE #9C46BE
triadic
#6046BE #BE6046 #46BE60
tetradic
#6046BE #BE4668 #A4BE46 #46BE9C
square
#6046BE #BE4668 #A4BE46 #46BE9C
split-complementary
#6046BE #BE9C46 #68BE46
monochromatic
#322466 #483493 #6046BE #8773CE #AEA1DE

Accessibility & contrast

On white

6.74
#6046BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6046BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046BE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046BE#FFFFFF#000000##FFFFFF
##6046BE1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#3F637B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6046be;
/* rgb */ color: rgb(96, 70, 190);
/* oklch */ color: oklch(49.1% 0.179 287.9);
Tailwind
colors: {
  custom: {
    50: '#957bd2',
    500: '#6046be',
    950: '#000000',
  },
}
SCSS
$custom: #6046be;
$custom-light: #957bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6046be",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 253,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.17931,
    "h": 287.9
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#6046BE
secondary
#BFCA95
accent
#D850BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6046BE

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

Preview Lab → · Contrast checker → · Palette generator →

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