#6841BC#6841BC

#6841BC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.183 H 293.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6841BC
RGBrgb(104, 65, 188)
HSLhsl(259, 49%, 50%)
HSVhsv(259, 65%, 74%)
CMYKcmyk(44.7%, 65.4%, 0%, 26.3%)
CIE-LABlab(38.47, 45.11, -59.02)
CIE-LCHlch(38.47, 74.29, 307.39°)
OKLaboklab(48.91% 0.0715 -0.1687)
OKLCHoklch(48.91% 0.183 293)
XYZxyz(16.6738, 10.3540, 48.6872)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6841BC #95BC41
analogous
#4158BC #6841BC #A641BC
triadic
#6841BC #BC6841 #41BC68
tetradic
#6841BC #BC4158 #95BC41 #41BCA6
square
#6841BC #BC4158 #95BC41 #41BCA6
split-complementary
#6841BC #BCA641 #58BC41
monochromatic
#362261 #4F318F #6841BC #8C6ECD #B09BDC

Accessibility & contrast

On white

6.84
#6841BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6841BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6841BC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6841BC#FFFFFF#000000##FFFFFF
##6841BC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#505E79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6841bc;
/* rgb */ color: rgb(104, 65, 188);
/* oklch */ color: oklch(48.9% 0.183 293.0);
Tailwind
colors: {
  custom: {
    50: '#9a78d1',
    500: '#6841bc',
    950: '#000000',
  },
}
SCSS
$custom: #6841bc;
$custom-light: #9a78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6841bc",
  "rgb": {
    "r": 104,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 259.024,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.18327,
    "h": 293
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#6841BC
secondary
#B7C990
accent
#D850AD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6841BC

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

Preview Lab → · Contrast checker → · Palette generator →

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