#6046CC#6046CC

#6046CC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.197 H 285.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6046CC
RGBrgb(96, 70, 204)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 66%, 80%)
CMYKcmyk(52.9%, 65.7%, 0%, 20%)
CIE-LABlab(39.96, 45.45, -65.96)
CIE-LCHlch(39.96, 80.10, 304.57°)
OKLaboklab(50.19% 0.0536 -0.1894)
OKLCHoklch(50.19% 0.197 285.8)
XYZxyz(17.9099, 11.2258, 58.3381)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046CC #B2CC46
analogous
#466FCC #6046CC #A346CC
triadic
#6046CC #CC6046 #46CC60
tetradic
#6046CC #CC466F #B2CC46 #46CCA3
square
#6046CC #CC466F #B2CC46 #46CCA3
split-complementary
#6046CC #CCA346 #6FCC46
monochromatic
#312177 #452EA7 #6046CC #8976D9 #B2A6E6

Accessibility & contrast

On white

6.47
#6046CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6046CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046CC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046CC#FFFFFF#000000##FFFFFF
##6046CC1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#346783
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6046cc;
/* rgb */ color: rgb(96, 70, 204);
/* oklch */ color: oklch(50.2% 0.197 285.8);
Tailwind
colors: {
  custom: {
    50: '#977bdd',
    500: '#6046cc',
    950: '#000000',
  },
}
SCSS
$custom: #6046cc;
$custom-light: #977bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6046cc",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 251.642,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50186,
    "c": 0.19683,
    "h": 285.8
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#6046CC
secondary
#C8D49A
accent
#E048C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6046CC

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

Preview Lab → · Contrast checker → · Palette generator →

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