#6049AC#6049AC

#6049AC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.2% C 0.152 H 290.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6049AC
RGBrgb(96, 73, 172)
HSLhsl(254, 40%, 48%)
HSVhsv(254, 58%, 67%)
CMYKcmyk(44.2%, 57.6%, 0%, 32.5%)
CIE-LABlab(38.25, 34.24, -49.97)
CIE-LCHlch(38.25, 60.58, 304.42°)
OKLaboklab(48.2% 0.0525 -0.1424)
OKLCHoklch(48.2% 0.152 290.2)
XYZxyz(14.6507, 10.2299, 40.2244)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6049AC #95AC49
analogous
#4964AC #6049AC #9149AC
triadic
#6049AC #AC6049 #49AC60
tetradic
#6049AC #AC4964 #95AC49 #49AC91
square
#6049AC #AC4964 #95AC49 #49AC91
split-complementary
#6049AC #AC9149 #64AC49
monochromatic
#302556 #483781 #6049AC #8370C2 #A89BD5

Accessibility & contrast

On white

6.89
#6049AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6049AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6049AC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6049AC#FFFFFF#000000##FFFFFF
##6049AC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5CAF
Deuteranopia (green-blind)
#1258AA
Tritanopia (blue-blind)
#4A5F73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6049ac;
/* rgb */ color: rgb(96, 73, 172);
/* oklch */ color: oklch(48.2% 0.152 290.2);
Tailwind
colors: {
  custom: {
    50: '#927cc5',
    500: '#6049ac',
    950: '#000000',
  },
}
SCSS
$custom: #6049ac;
$custom-light: #927cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6049ac",
  "rgb": {
    "r": 96,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 253.939,
    "s": 40.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48196,
    "c": 0.15174,
    "h": 290.2
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#6049AC
secondary
#B6C190
accent
#D058B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #6049AC

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

Preview Lab → · Contrast checker → · Palette generator →

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