#6047CC#6047CC

#6047CC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.196 H 285.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6047CC
RGBrgb(96, 71, 204)
HSLhsl(251, 57%, 54%)
HSVhsv(251, 65%, 80%)
CMYKcmyk(52.9%, 65.2%, 0%, 20%)
CIE-LABlab(40.17, 44.89, -65.62)
CIE-LCHlch(40.17, 79.50, 304.37°)
OKLaboklab(50.34% 0.0526 -0.1884)
OKLCHoklch(50.34% 0.196 285.6)
XYZxyz(17.9729, 11.3519, 58.3591)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047CC #B3CC47
analogous
#4771CC #6047CC #A347CC
triadic
#6047CC #CC6047 #47CC60
tetradic
#6047CC #CC4771 #B3CC47 #47CCA3
square
#6047CC #CC4771 #B3CC47 #47CCA3
split-complementary
#6047CC #CCA347 #71CC47
monochromatic
#312177 #452EA7 #6047CC #8977D9 #B3A7E7

Accessibility & contrast

On white

6.42
#6047CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6047CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047CC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047CC#FFFFFF#000000##FFFFFF
##6047CC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#346883
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6047cc;
/* rgb */ color: rgb(96, 71, 204);
/* oklch */ color: oklch(50.3% 0.196 285.6);
Tailwind
colors: {
  custom: {
    50: '#977cdd',
    500: '#6047cc',
    950: '#000000',
  },
}
SCSS
$custom: #6047cc;
$custom-light: #977cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6047cc",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 251.278,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.19561,
    "h": 285.6
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#6047CC
secondary
#C9D49B
accent
#E048C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6047CC

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

Preview Lab → · Contrast checker → · Palette generator →

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