#6046BD#6046BD

#6046BD is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.178 H 288.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6046BD
RGBrgb(96, 70, 189)
HSLhsl(253, 47%, 51%)
HSVhsv(253, 63%, 74%)
CMYKcmyk(49.2%, 63%, 0%, 25.9%)
CIE-LABlab(38.80, 41.02, -59.12)
CIE-LCHlch(38.80, 71.95, 304.75°)
OKLaboklab(48.98% 0.0551 -0.1693)
OKLCHoklch(48.98% 0.178 288)
XYZxyz(16.1967, 10.5405, 49.3154)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046BD #A3BD46
analogous
#4667BD #6046BD #9B46BD
triadic
#6046BD #BD6046 #46BD60
tetradic
#6046BD #BD4667 #A3BD46 #46BD9B
square
#6046BD #BD4667 #A3BD46 #46BD9B
split-complementary
#6046BD #BD9B46 #67BD46
monochromatic
#322465 #483492 #6046BD #8773CD #AEA0DD

Accessibility & contrast

On white

6.76
#6046BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6046BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046BD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046BD#FFFFFF#000000##FFFFFF
##6046BD1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#40627B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6046bd;
/* rgb */ color: rgb(96, 70, 189);
/* oklch */ color: oklch(49.0% 0.178 288.0);
Tailwind
colors: {
  custom: {
    50: '#957bd2',
    500: '#6046bd',
    950: '#000000',
  },
}
SCSS
$custom: #6046bd;
$custom-light: #957bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6046bd",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 253.109,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48979,
    "c": 0.17804,
    "h": 288
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#6046BD
secondary
#BECA95
accent
#D751BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6046BD

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

Preview Lab → · Contrast checker → · Palette generator →

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