#6049CC#6049CC

#6049CC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.193 H 285.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6049CC
RGBrgb(96, 73, 204)
HSLhsl(251, 56%, 54%)
HSVhsv(251, 64%, 80%)
CMYKcmyk(52.9%, 64.2%, 0%, 20%)
CIE-LABlab(40.59, 43.75, -64.93)
CIE-LCHlch(40.59, 78.29, 303.97°)
OKLaboklab(50.64% 0.0507 -0.1864)
OKLCHoklch(50.64% 0.193 285.2)
XYZxyz(18.1022, 11.6105, 58.4022)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6049CC #B5CC49
analogous
#4974CC #6049CC #A149CC
triadic
#6049CC #CC6049 #49CC60
tetradic
#6049CC #CC4974 #B5CC49 #49CCA1
square
#6049CC #CC4974 #B5CC49 #49CCA1
split-complementary
#6049CC #CCA149 #74CC49
monochromatic
#312279 #452FA9 #6049CC #8A79D9 #B4A9E7

Accessibility & contrast

On white

6.32
#6049CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6049CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6049CC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6049CC#FFFFFF#000000##FFFFFF
##6049CC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#346984
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6049cc;
/* rgb */ color: rgb(96, 73, 204);
/* oklch */ color: oklch(50.6% 0.193 285.2);
Tailwind
colors: {
  custom: {
    50: '#967ddc',
    500: '#6049cc',
    950: '#000000',
  },
}
SCSS
$custom: #6049cc;
$custom-light: #967ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6049cc",
  "rgb": {
    "r": 96,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 250.534,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50643,
    "c": 0.19315,
    "h": 285.2
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#6049CC
secondary
#CAD49D
accent
#E048C5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6049CC

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

Preview Lab → · Contrast checker → · Palette generator →

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