#6041BB#6041BB

#6041BB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.182 H 289.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6041BB
RGBrgb(96, 65, 187)
HSLhsl(255, 48%, 49%)
HSVhsv(255, 65%, 73%)
CMYKcmyk(48.7%, 65.2%, 0%, 26.7%)
CIE-LABlab(37.58, 43.28, -59.92)
CIE-LCHlch(37.58, 73.92, 305.84°)
OKLaboklab(48.05% 0.0605 -0.1716)
OKLCHoklch(48.05% 0.182 289.4)
XYZxyz(15.6812, 9.8546, 48.0800)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041BB #9CBB41
analogous
#415FBB #6041BB #9D41BB
triadic
#6041BB #BB6041 #41BB60
tetradic
#6041BB #BB415F #9CBB41 #41BB9D
square
#6041BB #BB415F #9CBB41 #41BB9D
split-complementary
#6041BB #BB9D41 #5FBB41
monochromatic
#312160 #49318E #6041BB #856DCC #AB9ADC

Accessibility & contrast

On white

7.07
#6041BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6041BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041BB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041BB#FFFFFF#000000##FFFFFF
##6041BB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#425F78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6041bb;
/* rgb */ color: rgb(96, 65, 187);
/* oklch */ color: oklch(48.0% 0.182 289.4);
Tailwind
colors: {
  custom: {
    50: '#9577d0',
    500: '#6041bb',
    950: '#000000',
  },
}
SCSS
$custom: #6041bb;
$custom-light: #9577d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6041bb",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 255.246,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4805,
    "c": 0.182,
    "h": 289.4
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#6041BB
secondary
#BAC890
accent
#D850B5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6041BB

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

Preview Lab → · Contrast checker → · Palette generator →

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