#6045BB#6045BB

#6045BB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.177 H 288.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6045BB
RGBrgb(96, 69, 187)
HSLhsl(254, 46%, 50%)
HSVhsv(254, 63%, 73%)
CMYKcmyk(48.7%, 63.1%, 0%, 26.7%)
CIE-LABlab(38.43, 41.00, -58.54)
CIE-LCHlch(38.43, 71.47, 305.01°)
OKLaboklab(48.67% 0.0564 -0.1676)
OKLCHoklch(48.67% 0.177 288.6)
XYZxyz(15.9190, 10.3302, 48.1592)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045BB #A0BB45
analogous
#4565BB #6045BB #9B45BB
triadic
#6045BB #BB6045 #45BB60
tetradic
#6045BB #BB4565 #A0BB45 #45BB9B
square
#6045BB #BB4565 #A0BB45 #45BB9B
split-complementary
#6045BB #BB9B45 #65BB45
monochromatic
#322462 #49348F #6045BB #8672CB #AD9FDC

Accessibility & contrast

On white

6.85
#6045BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6045BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045BB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045BB#FFFFFF#000000##FFFFFF
##6045BB1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#416179
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6045bb;
/* rgb */ color: rgb(96, 69, 187);
/* oklch */ color: oklch(48.7% 0.177 288.6);
Tailwind
colors: {
  custom: {
    50: '#947ad0',
    500: '#6045bb',
    950: '#000000',
  },
}
SCSS
$custom: #6045bb;
$custom-light: #947ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6045bb",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 253.729,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.17681,
    "h": 288.6
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#6045BB
secondary
#BCC894
accent
#D652B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6045BB

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

Preview Lab → · Contrast checker → · Palette generator →

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