#6941DB#6941DB

#6941DB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.220 H 288.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6941DB
RGBrgb(105, 65, 219)
HSLhsl(256, 68%, 56%)
HSVhsv(256, 70%, 86%)
CMYKcmyk(52.1%, 70.3%, 0%, 14.1%)
CIE-LABlab(41.05, 53.93, -72.77)
CIE-LCHlch(41.05, 90.58, 306.54°)
OKLaboklab(51.55% 0.068 -0.2091)
OKLCHoklch(51.55% 0.22 288)
XYZxyz(20.4984, 11.8973, 68.2204)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6941DB #B3DB41
analogous
#4166DB #6941DB #B641DB
triadic
#6941DB #DB6941 #41DB69
tetradic
#6941DB #DB4166 #B3DB41 #41DBB6
square
#6941DB #DB4166 #B3DB41 #41DBB6
split-complementary
#6941DB #DBB641 #66DB41
monochromatic
#361A88 #4B23BB #6941DB #9274E5 #BAA8EE

Accessibility & contrast

On white

6.21
#6941DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6941DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6941DB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6941DB#FFFFFF#000000##FFFFFF
##6941DB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#3D698A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6941db;
/* rgb */ color: rgb(105, 65, 219);
/* oklch */ color: oklch(51.6% 0.220 288.0);
Tailwind
colors: {
  custom: {
    50: '#9e79e7',
    500: '#6941db',
    950: '#000000',
  },
}
SCSS
$custom: #6941db;
$custom-light: #9e79e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6941db",
  "rgb": {
    "r": 105,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 255.584,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.21988,
    "h": 288
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#6941DB
secondary
#CBDC9C
accent
#EB3DBE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6941DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6941DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva