#6041B3#6041B3

#6041B3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.172 H 290.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6041B3
RGBrgb(96, 65, 179)
HSLhsl(256, 47%, 48%)
HSVhsv(256, 64%, 70%)
CMYKcmyk(46.4%, 63.7%, 0%, 29.8%)
CIE-LABlab(36.97, 40.97, -56.19)
CIE-LCHlch(36.97, 69.54, 306.10°)
OKLaboklab(47.42% 0.0613 -0.1607)
OKLCHoklch(47.42% 0.172 290.9)
XYZxyz(14.8486, 9.5215, 43.6946)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041B3 #94B341
analogous
#415BB3 #6041B3 #9941B3
triadic
#6041B3 #B36041 #41B360
tetradic
#6041B3 #B3415B #94B341 #41B399
square
#6041B3 #B3415B #94B341 #41B399
split-complementary
#6041B3 #B39941 #5BB341
monochromatic
#302059 #483186 #6041B3 #8369C8 #A896D9

Accessibility & contrast

On white

7.23
#6041B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6041B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041B3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041B3#FFFFFF#000000##FFFFFF
##6041B31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#475C74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6041b3;
/* rgb */ color: rgb(96, 65, 179);
/* oklch */ color: oklch(47.4% 0.172 290.9);
Tailwind
colors: {
  custom: {
    50: '#9477cb',
    500: '#6041b3',
    950: '#000000',
  },
}
SCSS
$custom: #6041b3;
$custom-light: #9477cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6041b3",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 256.316,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.172,
    "h": 290.9
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#6041B3
secondary
#B5C48B
accent
#D651B2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6041B3

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

Preview Lab → · Contrast checker → · Palette generator →

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