#6041BC#6041BC

#6041BC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.183 H 289.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6041BC
RGBrgb(96, 65, 188)
HSLhsl(255, 49%, 50%)
HSVhsv(255, 65%, 74%)
CMYKcmyk(48.9%, 65.4%, 0%, 26.3%)
CIE-LABlab(37.66, 43.57, -60.38)
CIE-LCHlch(37.66, 74.46, 305.81°)
OKLaboklab(48.13% 0.0604 -0.173)
OKLCHoklch(48.13% 0.183 289.2)
XYZxyz(15.7887, 9.8976, 48.6457)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041BC #9DBC41
analogous
#415FBC #6041BC #9E41BC
triadic
#6041BC #BC6041 #41BC60
tetradic
#6041BC #BC415F #9DBC41 #41BC9E
square
#6041BC #BC415F #9DBC41 #41BC9E
split-complementary
#6041BC #BC9E41 #5FBC41
monochromatic
#322261 #49318F #6041BC #856ECD #AB9BDC

Accessibility & contrast

On white

7.05
#6041BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6041BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041BC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041BC#FFFFFF#000000##FFFFFF
##6041BC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#415F79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6041bc;
/* rgb */ color: rgb(96, 65, 188);
/* oklch */ color: oklch(48.1% 0.183 289.2);
Tailwind
colors: {
  custom: {
    50: '#9577d1',
    500: '#6041bc',
    950: '#000000',
  },
}
SCSS
$custom: #6041bc;
$custom-light: #9577d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6041bc",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 255.122,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48131,
    "c": 0.18324,
    "h": 289.2
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#6041BC
secondary
#BAC990
accent
#D850B6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6041BC

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

Preview Lab → · Contrast checker → · Palette generator →

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