#6741AB#6741AB

#6741AB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.5% C 0.162 H 296.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6741AB
RGBrgb(103, 65, 171)
HSLhsl(262, 45%, 46%)
HSVhsv(262, 62%, 67%)
CMYKcmyk(39.8%, 62%, 0%, 32.9%)
CIE-LABlab(37.12, 40.22, -51.16)
CIE-LCHlch(37.12, 65.08, 308.17°)
OKLaboklab(47.52% 0.0716 -0.1457)
OKLCHoklch(47.52% 0.162 296.2)
XYZxyz(14.8326, 9.6042, 39.5925)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741AB #85AB41
analogous
#4150AB #6741AB #9C41AB
triadic
#6741AB #AB6741 #41AB67
tetradic
#6741AB #AB4150 #85AB41 #41AB9C
square
#6741AB #AB4150 #85AB41 #41AB9C
split-complementary
#6741AB #AB9C41 #50AB41
monochromatic
#321F52 #4C307F #6741AB #8765C4 #AA91D5

Accessibility & contrast

On white

7.19
#6741AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6741AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6741AB#FFFFFF#000000##FFFFFF
##6741AB1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#0856A9
Tritanopia (blue-blind)
#565870
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6741ab;
/* rgb */ color: rgb(103, 65, 171);
/* oklch */ color: oklch(47.5% 0.162 296.2);
Tailwind
colors: {
  custom: {
    50: '#9777c5',
    500: '#6741ab',
    950: '#000000',
  },
}
SCSS
$custom: #6741ab;
$custom-light: #9777c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6741ab",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 261.509,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47515,
    "c": 0.1623,
    "h": 296.2
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#6741AB
secondary
#ACC187
accent
#D553A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6741AB

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

Preview Lab → · Contrast checker → · Palette generator →

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