#6841CB#6841CB

#6841CB is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.1% C 0.201 H 290.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6841CB
RGBrgb(104, 65, 203)
HSLhsl(257, 57%, 53%)
HSVhsv(257, 68%, 80%)
CMYKcmyk(48.8%, 68%, 0%, 20.4%)
CIE-LABlab(39.64, 49.29, -65.87)
CIE-LCHlch(39.64, 82.27, 306.81°)
OKLaboklab(50.11% 0.0694 -0.1889)
OKLCHoklch(50.11% 0.201 290.2)
XYZxyz(18.3756, 11.0347, 57.6500)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6841CB #A4CB41
analogous
#415FCB #6841CB #AD41CB
triadic
#6841CB #CB6841 #41CB68
tetradic
#6841CB #CB415F #A4CB41 #41CBAD
square
#6841CB #CB415F #A4CB41 #41CBAD
split-complementary
#6841CB #CBAD41 #5FCB41
monochromatic
#371F72 #4E2CA2 #6841CB #8E71D8 #B4A1E5

Accessibility & contrast

On white

6.55
#6841CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6841CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6841CB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6841CB#FFFFFF#000000##FFFFFF
##6841CB1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#476481
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6841cb;
/* rgb */ color: rgb(104, 65, 203);
/* oklch */ color: oklch(50.1% 0.201 290.2);
Tailwind
colors: {
  custom: {
    50: '#9c78dc',
    500: '#6841cb',
    950: '#000000',
  },
}
SCSS
$custom: #6841cb;
$custom-light: #9c78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6841cb",
  "rgb": {
    "r": 104,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 256.957,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.20123,
    "h": 290.2
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6841CB

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

Preview Lab → · Contrast checker → · Palette generator →

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