#6045BC#6045BC

#6045BC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.178 H 288.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6045BC
RGBrgb(96, 69, 188)
HSLhsl(254, 47%, 50%)
HSVhsv(254, 63%, 74%)
CMYKcmyk(48.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(38.50, 41.30, -59.00)
CIE-LCHlch(38.50, 72.02, 304.99°)
OKLaboklab(48.74% 0.0563 -0.169)
OKLCHoklch(48.74% 0.178 288.4)
XYZxyz(16.0265, 10.3732, 48.7250)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045BC #A1BC45
analogous
#4566BC #6045BC #9B45BC
triadic
#6045BC #BC6045 #45BC60
tetradic
#6045BC #BC4566 #A1BC45 #45BC9B
square
#6045BC #BC4566 #A1BC45 #45BC9B
split-complementary
#6045BC #BC9B45 #66BC45
monochromatic
#322463 #493490 #6045BC #8672CC #AD9FDC

Accessibility & contrast

On white

6.83
#6045BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6045BC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045BC#FFFFFF#000000##FFFFFF
##6045BC1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6045bc;
/* rgb */ color: rgb(96, 69, 188);
/* oklch */ color: oklch(48.7% 0.178 288.4);
Tailwind
colors: {
  custom: {
    50: '#957ad1',
    500: '#6045bc',
    950: '#000000',
  },
}
SCSS
$custom: #6045bc;
$custom-light: #957ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6045bc",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 253.613,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.17808,
    "h": 288.4
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#6045BC
secondary
#BDC994
accent
#D751B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6045BC

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

Preview Lab → · Contrast checker → · Palette generator →

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