#6041B2#6041B2

#6041B2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.3% C 0.171 H 291.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6041B2
RGBrgb(96, 65, 178)
HSLhsl(256, 47%, 48%)
HSVhsv(256, 63%, 70%)
CMYKcmyk(46.1%, 63.5%, 0%, 30.2%)
CIE-LABlab(36.89, 40.68, -55.72)
CIE-LCHlch(36.89, 68.99, 306.13°)
OKLaboklab(47.34% 0.0614 -0.1593)
OKLCHoklch(47.34% 0.171 291.1)
XYZxyz(14.7478, 9.4812, 43.1639)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041B2 #93B241
analogous
#415BB2 #6041B2 #9841B2
triadic
#6041B2 #B26041 #41B260
tetradic
#6041B2 #B2415B #93B241 #41B298
square
#6041B2 #B2415B #93B241 #41B298
split-complementary
#6041B2 #B29841 #5BB241
monochromatic
#302058 #483185 #6041B2 #8368C8 #A895D8

Accessibility & contrast

On white

7.25
#6041B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6041B2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041B2#FFFFFF#000000##FFFFFF
##6041B21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#475B73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6041b2;
/* rgb */ color: rgb(96, 65, 178);
/* oklch */ color: oklch(47.3% 0.171 291.1);
Tailwind
colors: {
  custom: {
    50: '#9477ca',
    500: '#6041b2',
    950: '#000000',
  },
}
SCSS
$custom: #6041b2;
$custom-light: #9477ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6041b2",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 256.46,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47338,
    "c": 0.17074,
    "h": 291.1
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#6041B2
secondary
#B4C48B
accent
#D652B2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6041B2

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

Preview Lab → · Contrast checker → · Palette generator →

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