#6041D0#6041D0

#6041D0 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.8% C 0.208 H 286.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6041D0
RGBrgb(96, 65, 208)
HSLhsl(253, 60%, 54%)
HSVhsv(253, 69%, 82%)
CMYKcmyk(53.8%, 68.8%, 0%, 18.4%)
CIE-LABlab(39.28, 49.38, -69.39)
CIE-LCHlch(39.28, 85.16, 305.44°)
OKLaboklab(49.8% 0.0575 -0.1995)
OKLCHoklch(49.8% 0.208 286.1)
XYZxyz(18.0959, 10.8205, 60.7973)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041D0 #B1D041
analogous
#4169D0 #6041D0 #A741D0
triadic
#6041D0 #D06041 #41D060
tetradic
#6041D0 #D04169 #B1D041 #41D0A7
square
#6041D0 #D04169 #B1D041 #41D0A7
split-complementary
#6041D0 #D0A741 #69D041
monochromatic
#321E79 #462AAA #6041D0 #8972DC #B2A3E8

Accessibility & contrast

On white

6.64
#6041D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6041D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6041D0
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041D0#FFFFFF#000000##FFFFFF
##6041D01.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#306683
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6041d0;
/* rgb */ color: rgb(96, 65, 208);
/* oklch */ color: oklch(49.8% 0.208 286.1);
Tailwind
colors: {
  custom: {
    50: '#9878df',
    500: '#6041d0',
    950: '#000000',
  },
}
SCSS
$custom: #6041d0;
$custom-light: #9878df;
$custom-dark: #000000;
JSON
{
  "hex": "#6041d0",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 253.007,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49797,
    "c": 0.20758,
    "h": 286.1
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#6041D0
secondary
#C8D598
accent
#E344C1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6041D0

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

Preview Lab → · Contrast checker → · Palette generator →

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