#6741AC#6741AC

#6741AC is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.164 H 295.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6741AC
RGBrgb(103, 65, 172)
HSLhsl(261, 45%, 46%)
HSVhsv(261, 62%, 67%)
CMYKcmyk(40.1%, 62.2%, 0%, 32.5%)
CIE-LABlab(37.19, 40.49, -51.64)
CIE-LCHlch(37.19, 65.62, 308.10°)
OKLaboklab(47.59% 0.0715 -0.1471)
OKLCHoklch(47.59% 0.164 295.9)
XYZxyz(14.9283, 9.6424, 40.0964)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741AC #86AC41
analogous
#4151AC #6741AC #9D41AC
triadic
#6741AC #AC6741 #41AC67
tetradic
#6741AC #AC4151 #86AC41 #41AC9D
square
#6741AC #AC4151 #86AC41 #41AC9D
split-complementary
#6741AC #AC9D41 #51AC41
monochromatic
#321F53 #4C3080 #6741AC #8765C5 #AA92D6

Accessibility & contrast

On white

7.17
#6741AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6741AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6741AC#FFFFFF#000000##FFFFFF
##6741AC1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#0456AA
Tritanopia (blue-blind)
#565970
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6741ac;
/* rgb */ color: rgb(103, 65, 172);
/* oklch */ color: oklch(47.6% 0.164 295.9);
Tailwind
colors: {
  custom: {
    50: '#9777c5',
    500: '#6741ac',
    950: '#000000',
  },
}
SCSS
$custom: #6741ac;
$custom-light: #9777c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6741ac",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 261.308,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.16355,
    "h": 295.9
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#6741AC
secondary
#ADC188
accent
#D553A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6741AC

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

Preview Lab → · Contrast checker → · Palette generator →

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