#6041B9#6041B9

#6041B9 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.180 H 289.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6041B9
RGBrgb(96, 65, 185)
HSLhsl(256, 48%, 49%)
HSVhsv(256, 65%, 73%)
CMYKcmyk(48.1%, 64.9%, 0%, 27.5%)
CIE-LABlab(37.43, 42.70, -58.99)
CIE-LCHlch(37.43, 72.83, 305.90°)
OKLaboklab(47.89% 0.0607 -0.1689)
OKLCHoklch(47.89% 0.18 289.8)
XYZxyz(15.4686, 9.7696, 46.9602)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041B9 #9AB941
analogous
#415EB9 #6041B9 #9C41B9
triadic
#6041B9 #B96041 #41B960
tetradic
#6041B9 #B9415E #9AB941 #41B99C
square
#6041B9 #B9415E #9AB941 #41B99C
split-complementary
#6041B9 #B99C41 #5EB941
monochromatic
#31215E #48318C #6041B9 #856CCB #AA99DB

Accessibility & contrast

On white

7.11
#6041B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6041B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041B9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041B9#FFFFFF#000000##FFFFFF
##6041B91.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#435E77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6041b9;
/* rgb */ color: rgb(96, 65, 185);
/* oklch */ color: oklch(47.9% 0.180 289.8);
Tailwind
colors: {
  custom: {
    50: '#9477cf',
    500: '#6041b9',
    950: '#000000',
  },
}
SCSS
$custom: #6041b9;
$custom-light: #9477cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6041b9",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 255.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.17951,
    "h": 289.8
  },
  "luminance": 0.0977
}

Semantic roles & 50–950 ramp

primary
#6041B9
secondary
#B9C78F
accent
#D850B5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6041B9

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

Preview Lab → · Contrast checker → · Palette generator →

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