#6041AB#6041AB

#6041AB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.8% C 0.162 H 292.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6041AB
RGBrgb(96, 65, 171)
HSLhsl(258, 45%, 46%)
HSVhsv(258, 62%, 67%)
CMYKcmyk(43.9%, 62%, 0%, 32.9%)
CIE-LABlab(36.38, 38.68, -52.40)
CIE-LCHlch(36.38, 65.13, 306.43°)
OKLaboklab(46.8% 0.0619 -0.1495)
OKLCHoklch(46.8% 0.162 292.5)
XYZxyz(14.0628, 9.2072, 39.5564)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041AB #8CAB41
analogous
#4157AB #6041AB #9541AB
triadic
#6041AB #AB6041 #41AB60
tetradic
#6041AB #AB4157 #8CAB41 #41AB95
square
#6041AB #AB4157 #8CAB41 #41AB95
split-complementary
#6041AB #AB9541 #57AB41
monochromatic
#2E1F52 #47307F #6041AB #8165C4 #A591D5

Accessibility & contrast

On white

7.39
#6041AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6041AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041AB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041AB#FFFFFF#000000##FFFFFF
##6041AB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#4B5970
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6041ab;
/* rgb */ color: rgb(96, 65, 171);
/* oklch */ color: oklch(46.8% 0.162 292.5);
Tailwind
colors: {
  custom: {
    50: '#9377c5',
    500: '#6041ab',
    950: '#000000',
  },
}
SCSS
$custom: #6041ab;
$custom-light: #9377c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6041ab",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 257.547,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.16184,
    "h": 292.5
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6041AB

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

Preview Lab → · Contrast checker → · Palette generator →

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