#6049CF#6049CF

#6049CF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.197 H 284.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6049CF
RGBrgb(96, 73, 207)
HSLhsl(250, 58%, 55%)
HSVhsv(250, 65%, 81%)
CMYKcmyk(53.6%, 64.7%, 0%, 18.8%)
CIE-LABlab(40.83, 44.65, -66.28)
CIE-LCHlch(40.83, 79.92, 303.97°)
OKLaboklab(50.89% 0.0504 -0.1903)
OKLCHoklch(50.89% 0.197 284.8)
XYZxyz(18.4655, 11.7559, 60.3155)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6049CF #B8CF49
analogous
#4975CF #6049CF #A349CF
triadic
#6049CF #CF6049 #49CF60
tetradic
#6049CF #CF4975 #B8CF49 #49CFA3
square
#6049CF #CF4975 #B8CF49 #49CFA3
split-complementary
#6049CF #CFA349 #75CF49
monochromatic
#31217D #442EAD #6049CF #8A79DC #B5AAE9

Accessibility & contrast

On white

6.27
#6049CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6049CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6049CF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6049CF#FFFFFF#000000##FFFFFF
##6049CF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#316A85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6049cf;
/* rgb */ color: rgb(96, 73, 207);
/* oklch */ color: oklch(50.9% 0.197 284.8);
Tailwind
colors: {
  custom: {
    50: '#977ddf',
    500: '#6049cf',
    950: '#000000',
  },
}
SCSS
$custom: #6049cf;
$custom-light: #977ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6049cf",
  "rgb": {
    "r": 96,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 250.299,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.1969,
    "h": 284.8
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#6049CF
secondary
#CCD69E
accent
#E146C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6049CF

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

Preview Lab → · Contrast checker → · Palette generator →

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