#6941B2#6941B2

#6941B2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.2% C 0.171 H 295.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6941B2
RGBrgb(105, 65, 178)
HSLhsl(261, 47%, 48%)
HSVhsv(261, 63%, 70%)
CMYKcmyk(41%, 63.5%, 0%, 30.2%)
CIE-LABlab(37.84, 42.57, -54.15)
CIE-LCHlch(37.84, 68.88, 308.17°)
OKLaboklab(48.24% 0.0739 -0.1544)
OKLCHoklch(48.24% 0.171 295.6)
XYZxyz(15.7498, 9.9979, 43.2108)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6941B2 #8AB241
analogous
#4151B2 #6941B2 #A141B2
triadic
#6941B2 #B26941 #41B269
tetradic
#6941B2 #B24151 #8AB241 #41B2A1
square
#6941B2 #B24151 #8AB241 #41B2A1
split-complementary
#6941B2 #B2A141 #51B241
monochromatic
#342058 #4F3185 #6941B2 #8A68C8 #AD95D8

Accessibility & contrast

On white

7.00
#6941B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6941B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6941B2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6941B2#FFFFFF#000000##FFFFFF
##6941B21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#565B73
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6941b2;
/* rgb */ color: rgb(105, 65, 178);
/* oklch */ color: oklch(48.2% 0.171 295.6);
Tailwind
colors: {
  custom: {
    50: '#9978ca',
    500: '#6941b2',
    950: '#000000',
  },
}
SCSS
$custom: #6941b2;
$custom-light: #9978ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6941b2",
  "rgb": {
    "r": 105,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 261.239,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48244,
    "c": 0.17114,
    "h": 295.6
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#6941B2
secondary
#B0C48B
accent
#D652A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6941B2

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

Preview Lab → · Contrast checker → · Palette generator →

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