#6741AA#6741AA

#6741AA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.4% C 0.161 H 296.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6741AA
RGBrgb(103, 65, 170)
HSLhsl(262, 45%, 46%)
HSVhsv(262, 62%, 67%)
CMYKcmyk(39.4%, 61.8%, 0%, 33.3%)
CIE-LABlab(37.05, 39.94, -50.68)
CIE-LCHlch(37.05, 64.53, 308.24°)
OKLaboklab(47.44% 0.0716 -0.1442)
OKLCHoklch(47.44% 0.161 296.4)
XYZxyz(14.7376, 9.5662, 39.0924)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741AA #84AA41
analogous
#414FAA #6741AA #9B41AA
triadic
#6741AA #AA6741 #41AA67
tetradic
#6741AA #AA414F #84AA41 #41AA9B
square
#6741AA #AA414F #84AA41 #41AA9B
split-complementary
#6741AA #AA9B41 #4FAA41
monochromatic
#311F51 #4C307E #6741AA #8764C4 #A991D5

Accessibility & contrast

On white

7.21
#6741AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6741AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6741AA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741AA#FFFFFF#000000##FFFFFF
##6741AA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0C56A8
Tritanopia (blue-blind)
#57586F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6741aa;
/* rgb */ color: rgb(103, 65, 170);
/* oklch */ color: oklch(47.4% 0.161 296.4);
Tailwind
colors: {
  custom: {
    50: '#9777c4',
    500: '#6741aa',
    950: '#000000',
  },
}
SCSS
$custom: #6741aa;
$custom-light: #9777c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6741aa",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 261.714,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.16105,
    "h": 296.4
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#6741AA
secondary
#ABC087
accent
#D453A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6741AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6741AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva