#6041B0#6041B0

#6041B0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.168 H 291.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6041B0
RGBrgb(96, 65, 176)
HSLhsl(257, 46%, 47%)
HSVhsv(257, 63%, 69%)
CMYKcmyk(45.5%, 63.1%, 0%, 31%)
CIE-LABlab(36.75, 40.11, -54.78)
CIE-LCHlch(36.75, 67.89, 306.21°)
OKLaboklab(47.18% 0.0616 -0.1565)
OKLCHoklch(47.18% 0.168 291.5)
XYZxyz(14.5485, 9.4015, 42.1140)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041B0 #91B041
analogous
#4159B0 #6041B0 #9841B0
triadic
#6041B0 #B06041 #41B060
tetradic
#6041B0 #B04159 #91B041 #41B098
square
#6041B0 #B04159 #91B041 #41B098
split-complementary
#6041B0 #B09841 #59B041
monochromatic
#2F2057 #483083 #6041B0 #8267C7 #A794D7

Accessibility & contrast

On white

7.29
#6041B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6041B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041B0
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041B0#FFFFFF#000000##FFFFFF
##6041B01.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#485B72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6041b0;
/* rgb */ color: rgb(96, 65, 176);
/* oklch */ color: oklch(47.2% 0.168 291.5);
Tailwind
colors: {
  custom: {
    50: '#9377c8',
    500: '#6041b0',
    950: '#000000',
  },
}
SCSS
$custom: #6041b0;
$custom-light: #9377c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6041b0",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 256.757,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47183,
    "c": 0.1682,
    "h": 291.5
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#6041B0
secondary
#B3C38A
accent
#D652B1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6041B0

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

Preview Lab → · Contrast checker → · Palette generator →

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