#6041B5#6041B5

#6041B5 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.175 H 290.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6041B5
RGBrgb(96, 65, 181)
HSLhsl(256, 47%, 48%)
HSVhsv(256, 64%, 71%)
CMYKcmyk(47%, 64.1%, 0%, 29%)
CIE-LABlab(37.12, 41.55, -57.13)
CIE-LCHlch(37.12, 70.64, 306.03°)
OKLaboklab(47.57% 0.0611 -0.1635)
OKLCHoklch(47.57% 0.175 290.5)
XYZxyz(15.0523, 9.6030, 44.7676)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041B5 #96B541
analogous
#415CB5 #6041B5 #9A41B5
triadic
#6041B5 #B56041 #41B560
tetradic
#6041B5 #B5415C #96B541 #41B59A
square
#6041B5 #B5415C #96B541 #41B59A
split-complementary
#6041B5 #B59A41 #5CB541
monochromatic
#30215B #483188 #6041B5 #836AC9 #A997DA

Accessibility & contrast

On white

7.19
#6041B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6041B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041B5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041B5#FFFFFF#000000##FFFFFF
##6041B51.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#455C75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6041b5;
/* rgb */ color: rgb(96, 65, 181);
/* oklch */ color: oklch(47.6% 0.175 290.5);
Tailwind
colors: {
  custom: {
    50: '#9477cc',
    500: '#6041b5',
    950: '#000000',
  },
}
SCSS
$custom: #6041b5;
$custom-light: #9477cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6041b5",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 256.034,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.17451,
    "h": 290.5
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#6041B5
secondary
#B6C58C
accent
#D751B3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6041B5

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

Preview Lab → · Contrast checker → · Palette generator →

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