#6041D9#6041D9

#6041D9 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.6% C 0.218 H 284.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6041D9
RGBrgb(96, 65, 217)
HSLhsl(252, 67%, 55%)
HSVhsv(252, 70%, 85%)
CMYKcmyk(55.8%, 70%, 0%, 14.9%)
CIE-LABlab(40.04, 51.99, -73.32)
CIE-LCHlch(40.04, 89.88, 305.34°)
OKLaboklab(50.58% 0.0559 -0.211)
OKLCHoklch(50.58% 0.218 284.8)
XYZxyz(19.2347, 11.2760, 66.7951)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041D9 #BAD941
analogous
#416ED9 #6041D9 #AC41D9
triadic
#6041D9 #D96041 #41D960
tetradic
#6041D9 #D9416E #BAD941 #41D9AC
square
#6041D9 #D9416E #BAD941 #41D9AC
split-complementary
#6041D9 #D9AC41 #6ED941
monochromatic
#301B85 #4325B8 #6041D9 #8B74E3 #B5A7ED

Accessibility & contrast

On white

6.45
#6041D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6041D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6041D9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041D9#FFFFFF#000000##FFFFFF
##6041D91.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#256988
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6041d9;
/* rgb */ color: rgb(96, 65, 217);
/* oklch */ color: oklch(50.6% 0.218 284.8);
Tailwind
colors: {
  custom: {
    50: '#9978e6',
    500: '#6041d9',
    950: '#000000',
  },
}
SCSS
$custom: #6041d9;
$custom-light: #9978e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6041d9",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 252.237,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.21825,
    "h": 284.8
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#6041D9
secondary
#CEDB9B
accent
#EA3EC7
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6041D9

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

Preview Lab → · Contrast checker → · Palette generator →

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