#6841CA#6841CA

#6841CA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.0% C 0.200 H 290.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6841CA
RGBrgb(104, 65, 202)
HSLhsl(257, 56%, 52%)
HSVhsv(257, 68%, 79%)
CMYKcmyk(48.5%, 67.8%, 0%, 20.8%)
CIE-LABlab(39.56, 49.01, -65.42)
CIE-LCHlch(39.56, 81.74, 306.84°)
OKLaboklab(50.03% 0.0696 -0.1875)
OKLCHoklch(50.03% 0.2 290.4)
XYZxyz(18.2568, 10.9872, 57.0244)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6841CA #A3CA41
analogous
#415FCA #6841CA #AC41CA
triadic
#6841CA #CA6841 #41CA68
tetradic
#6841CA #CA415F #A3CA41 #41CAAC
square
#6841CA #CA415F #A3CA41 #41CAAC
split-complementary
#6841CA #CAAC41 #5FCA41
monochromatic
#372071 #4E2DA1 #6841CA #8E71D7 #B4A1E5

Accessibility & contrast

On white

6.57
#6841CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6841CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6841CA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6841CA#FFFFFF#000000##FFFFFF
##6841CA1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#486380
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6841ca;
/* rgb */ color: rgb(104, 65, 202);
/* oklch */ color: oklch(50.0% 0.200 290.4);
Tailwind
colors: {
  custom: {
    50: '#9b78db',
    500: '#6841ca',
    950: '#000000',
  },
}
SCSS
$custom: #6841ca;
$custom-light: #9b78db;
$custom-dark: #000000;
JSON
{
  "hex": "#6841ca",
  "rgb": {
    "r": 104,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 257.08,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50032,
    "c": 0.20004,
    "h": 290.4
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#6841CA
secondary
#C0D196
accent
#E048B5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6841CA

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

Preview Lab → · Contrast checker → · Palette generator →

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