#6041AC#6041AC

#6041AC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.9% C 0.163 H 292.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6041AC
RGBrgb(96, 65, 172)
HSLhsl(257, 45%, 46%)
HSVhsv(257, 62%, 67%)
CMYKcmyk(44.2%, 62.2%, 0%, 32.5%)
CIE-LABlab(36.45, 38.96, -52.88)
CIE-LCHlch(36.45, 65.68, 306.38°)
OKLaboklab(46.88% 0.0619 -0.1509)
OKLCHoklch(46.88% 0.163 292.3)
XYZxyz(14.1585, 9.2455, 40.0603)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041AC #8DAC41
analogous
#4158AC #6041AC #9641AC
triadic
#6041AC #AC6041 #41AC60
tetradic
#6041AC #AC4158 #8DAC41 #41AC96
square
#6041AC #AC4158 #8DAC41 #41AC96
split-complementary
#6041AC #AC9641 #58AC41
monochromatic
#2E1F53 #473080 #6041AC #8165C5 #A592D6

Accessibility & contrast

On white

7.37
#6041AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6041AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041AC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041AC#FFFFFF#000000##FFFFFF
##6041AC1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#4A5970
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6041ac;
/* rgb */ color: rgb(96, 65, 172);
/* oklch */ color: oklch(46.9% 0.163 292.3);
Tailwind
colors: {
  custom: {
    50: '#9377c5',
    500: '#6041ac',
    950: '#000000',
  },
}
SCSS
$custom: #6041ac;
$custom-light: #9377c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6041ac",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 257.383,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46877,
    "c": 0.16312,
    "h": 292.3
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#6041AC
secondary
#B0C188
accent
#D553AF
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6041AC

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

Preview Lab → · Contrast checker → · Palette generator →

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