#6741AF#6741AF

#6741AF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.8% C 0.167 H 295.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6741AF
RGBrgb(103, 65, 175)
HSLhsl(261, 46%, 47%)
HSVhsv(261, 63%, 69%)
CMYKcmyk(41.1%, 62.9%, 0%, 31.4%)
CIE-LABlab(37.41, 41.31, -53.08)
CIE-LCHlch(37.41, 67.26, 307.89°)
OKLaboklab(47.81% 0.0713 -0.1513)
OKLCHoklch(47.81% 0.167 295.2)
XYZxyz(15.2196, 9.7590, 41.6309)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741AF #89AF41
analogous
#4152AF #6741AF #9E41AF
triadic
#6741AF #AF6741 #41AF67
tetradic
#6741AF #AF4152 #89AF41 #41AF9E
square
#6741AF #AF4152 #89AF41 #41AF9E
split-complementary
#6741AF #AF9E41 #52AF41
monochromatic
#322056 #4D3082 #6741AF #8867C6 #AB93D7

Accessibility & contrast

On white

7.11
#6741AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6741AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6741AF#FFFFFF#000000##FFFFFF
##6741AF1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#545A72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6741af;
/* rgb */ color: rgb(103, 65, 175);
/* oklch */ color: oklch(47.8% 0.167 295.2);
Tailwind
colors: {
  custom: {
    50: '#9877c8',
    500: '#6741af',
    950: '#000000',
  },
}
SCSS
$custom: #6741af;
$custom-light: #9877c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6741af",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 260.727,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47812,
    "c": 0.16728,
    "h": 295.2
  },
  "luminance": 0.09759
}

Semantic roles & 50–950 ramp

primary
#6741AF
secondary
#AFC289
accent
#D552A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6741AF

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

Preview Lab → · Contrast checker → · Palette generator →

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