#6841CF#6841CF

#6841CF is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.4% C 0.206 H 289.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6841CF
RGBrgb(104, 65, 207)
HSLhsl(256, 60%, 53%)
HSVhsv(256, 69%, 81%)
CMYKcmyk(49.8%, 68.6%, 0%, 18.8%)
CIE-LABlab(39.96, 50.41, -67.66)
CIE-LCHlch(39.96, 84.37, 306.69°)
OKLaboklab(50.44% 0.0688 -0.1941)
OKLCHoklch(50.44% 0.206 289.5)
XYZxyz(18.8585, 11.2278, 60.1929)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6841CF #A8CF41
analogous
#4161CF #6841CF #AF41CF
triadic
#6841CF #CF6841 #41CF68
tetradic
#6841CF #CF4161 #A8CF41 #41CFAF
square
#6841CF #CF4161 #A8CF41 #41CFAF
split-complementary
#6841CF #CFAF41 #61CF41
monochromatic
#371E77 #4D2BA8 #6841CF #8F72DB #B6A3E8

Accessibility & contrast

On white

6.47
#6841CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6841CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6841CF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6841CF#FFFFFF#000000##FFFFFF
##6841CF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#446583
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6841cf;
/* rgb */ color: rgb(104, 65, 207);
/* oklch */ color: oklch(50.4% 0.206 289.5);
Tailwind
colors: {
  custom: {
    50: '#9c78df',
    500: '#6841cf',
    950: '#000000',
  },
}
SCSS
$custom: #6841cf;
$custom-light: #9c78df;
$custom-dark: #000000;
JSON
{
  "hex": "#6841cf",
  "rgb": {
    "r": 104,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 256.479,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.20594,
    "h": 289.5
  },
  "luminance": 0.11229
}

Semantic roles & 50–950 ramp

primary
#6841CF
secondary
#C4D497
accent
#E345B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6841CF

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

Preview Lab → · Contrast checker → · Palette generator →

#6841CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva