#6741B7#6741B7

#6741B7 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.4% C 0.177 H 293.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6741B7
RGBrgb(103, 65, 183)
HSLhsl(259, 48%, 49%)
HSVhsv(259, 64%, 72%)
CMYKcmyk(43.7%, 64.5%, 0%, 28.2%)
CIE-LABlab(37.99, 43.53, -56.87)
CIE-LCHlch(37.99, 71.61, 307.43°)
OKLaboklab(48.42% 0.0706 -0.1624)
OKLCHoklch(48.42% 0.177 293.5)
XYZxyz(16.0287, 10.0826, 45.8922)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741B7 #91B741
analogous
#4156B7 #6741B7 #A241B7
triadic
#6741B7 #B76741 #41B767
tetradic
#6741B7 #B74156 #91B741 #41B7A2
square
#6741B7 #B74156 #91B741 #41B7A2
split-complementary
#6741B7 #B7A241 #56B741
monochromatic
#34215D #4E318A #6741B7 #8A6BCA #AD98DA

Accessibility & contrast

On white

6.96
#6741B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6741B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6741B7#FFFFFF#000000##FFFFFF
##6741B71.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#515D76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6741b7;
/* rgb */ color: rgb(103, 65, 183);
/* oklch */ color: oklch(48.4% 0.177 293.5);
Tailwind
colors: {
  custom: {
    50: '#9878cd',
    500: '#6741b7',
    950: '#000000',
  },
}
SCSS
$custom: #6741b7;
$custom-light: #9878cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6741b7",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 259.322,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48419,
    "c": 0.17713,
    "h": 293.5
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#6741B7
secondary
#B4C68E
accent
#D751AC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6741B7

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

Preview Lab → · Contrast checker → · Palette generator →

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