#6047BC#6047BC

#6047BC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.175 H 288.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6047BC
RGBrgb(96, 71, 188)
HSLhsl(253, 47%, 51%)
HSVhsv(253, 62%, 74%)
CMYKcmyk(48.9%, 62.2%, 0%, 26.3%)
CIE-LABlab(38.94, 40.14, -58.30)
CIE-LCHlch(38.94, 70.78, 304.55°)
OKLaboklab(49.06% 0.0542 -0.1669)
OKLCHoklch(49.06% 0.175 288)
XYZxyz(16.1516, 10.6234, 48.7667)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047BC #A3BC47
analogous
#4768BC #6047BC #9B47BC
triadic
#6047BC #BC6047 #47BC60
tetradic
#6047BC #BC4768 #A3BC47 #47BC9B
square
#6047BC #BC4768 #A3BC47 #47BC9B
split-complementary
#6047BC #BC9B47 #68BC47
monochromatic
#322464 #493591 #6047BC #8774CC #AEA1DD

Accessibility & contrast

On white

6.72
#6047BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6047BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047BC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047BC#FFFFFF#000000##FFFFFF
##6047BC1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#41637B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6047bc;
/* rgb */ color: rgb(96, 71, 188);
/* oklch */ color: oklch(49.1% 0.175 288.0);
Tailwind
colors: {
  custom: {
    50: '#947bd1',
    500: '#6047bc',
    950: '#000000',
  },
}
SCSS
$custom: #6047bc;
$custom-light: #947bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6047bc",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 252.821,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4906,
    "c": 0.17545,
    "h": 288
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6047BC

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

Preview Lab → · Contrast checker → · Palette generator →

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