#6041BF#6041BF

#6041BF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.187 H 288.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6041BF
RGBrgb(96, 65, 191)
HSLhsl(255, 50%, 50%)
HSVhsv(255, 66%, 75%)
CMYKcmyk(49.7%, 66%, 0%, 25.1%)
CIE-LABlab(37.89, 44.44, -61.76)
CIE-LCHlch(37.89, 76.09, 305.74°)
OKLaboklab(48.37% 0.06 -0.1771)
OKLCHoklch(48.37% 0.187 288.7)
XYZxyz(16.1154, 10.0283, 50.3666)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041BF #A0BF41
analogous
#4161BF #6041BF #9F41BF
triadic
#6041BF #BF6041 #41BF60
tetradic
#6041BF #BF4161 #A0BF41 #41BF9F
square
#6041BF #BF4161 #A0BF41 #41BF9F
split-complementary
#6041BF #BF9F41 #61BF41
monochromatic
#322264 #493192 #6041BF #866FCE #AD9DDE

Accessibility & contrast

On white

6.99
#6041BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6041BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6041BF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041BF#FFFFFF#000000##FFFFFF
##6041BF1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#3F607A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6041bf;
/* rgb */ color: rgb(96, 65, 191);
/* oklch */ color: oklch(48.4% 0.187 288.7);
Tailwind
colors: {
  custom: {
    50: '#9578d3',
    500: '#6041bf',
    950: '#000000',
  },
}
SCSS
$custom: #6041bf;
$custom-light: #9578d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6041bf",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 254.762,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48374,
    "c": 0.18695,
    "h": 288.7
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#6041BF
secondary
#BCCA92
accent
#D94FB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6041BF

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

Preview Lab → · Contrast checker → · Palette generator →

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