#6046BC#6046BC

#6046BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.177 H 288.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6046BC
RGBrgb(96, 70, 188)
HSLhsl(253, 47%, 51%)
HSVhsv(253, 63%, 74%)
CMYKcmyk(48.9%, 62.8%, 0%, 26.3%)
CIE-LABlab(38.72, 40.72, -58.65)
CIE-LCHlch(38.72, 71.40, 304.77°)
OKLaboklab(48.9% 0.0552 -0.1679)
OKLCHoklch(48.9% 0.177 288.2)
XYZxyz(16.0885, 10.4973, 48.7457)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046BC #A2BC46
analogous
#4667BC #6046BC #9B46BC
triadic
#6046BC #BC6046 #46BC60
tetradic
#6046BC #BC4667 #A2BC46 #46BC9B
square
#6046BC #BC4667 #A2BC46 #46BC9B
split-complementary
#6046BC #BC9B46 #67BC46
monochromatic
#322464 #493490 #6046BC #8773CC #ADA0DD

Accessibility & contrast

On white

6.78
#6046BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6046BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046BC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046BC#FFFFFF#000000##FFFFFF
##6046BC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6046bc;
/* rgb */ color: rgb(96, 70, 188);
/* oklch */ color: oklch(48.9% 0.177 288.2);
Tailwind
colors: {
  custom: {
    50: '#947bd1',
    500: '#6046bc',
    950: '#000000',
  },
}
SCSS
$custom: #6046bc;
$custom-light: #947bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6046bc",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 253.22,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48901,
    "c": 0.17677,
    "h": 288.2
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#6046BC
secondary
#BEC995
accent
#D651B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6046BC

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

Preview Lab → · Contrast checker → · Palette generator →

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