#6041B1#6041B1

#6041B1 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.169 H 291.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6041B1
RGBrgb(96, 65, 177)
HSLhsl(257, 46%, 47%)
HSVhsv(257, 63%, 69%)
CMYKcmyk(45.8%, 63.3%, 0%, 30.6%)
CIE-LABlab(36.82, 40.40, -55.25)
CIE-LCHlch(36.82, 68.44, 306.17°)
OKLaboklab(47.26% 0.0615 -0.1579)
OKLCHoklch(47.26% 0.169 291.3)
XYZxyz(14.6478, 9.4412, 42.6370)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041B1 #92B141
analogous
#415AB1 #6041B1 #9841B1
triadic
#6041B1 #B16041 #41B160
tetradic
#6041B1 #B1415A #92B141 #41B198
square
#6041B1 #B1415A #92B141 #41B198
split-complementary
#6041B1 #B19841 #5AB141
monochromatic
#2F2057 #483184 #6041B1 #8268C7 #A795D8

Accessibility & contrast

On white

7.27
#6041B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6041B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041B1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041B1#FFFFFF#000000##FFFFFF
##6041B11.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#485B73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6041b1;
/* rgb */ color: rgb(96, 65, 177);
/* oklch */ color: oklch(47.3% 0.169 291.3);
Tailwind
colors: {
  custom: {
    50: '#9377c9',
    500: '#6041b1',
    950: '#000000',
  },
}
SCSS
$custom: #6041b1;
$custom-light: #9377c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6041b1",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 256.607,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47261,
    "c": 0.16947,
    "h": 291.3
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6041B1

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

Preview Lab → · Contrast checker → · Palette generator →

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