#6740AD#6740AD

#6740AD is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.5% C 0.166 H 295.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6740AD
RGBrgb(103, 64, 173)
HSLhsl(261, 46%, 46%)
HSVhsv(261, 63%, 68%)
CMYKcmyk(40.5%, 63%, 0%, 32.2%)
CIE-LABlab(37.05, 41.33, -52.46)
CIE-LCHlch(37.05, 66.78, 308.23°)
OKLaboklab(47.51% 0.0726 -0.1495)
OKLCHoklch(47.51% 0.166 295.9)
XYZxyz(14.9678, 9.5672, 40.5851)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6740AD #86AD40
analogous
#4050AD #6740AD #9E40AD
triadic
#6740AD #AD6740 #40AD67
tetradic
#6740AD #AD4050 #86AD40 #40AD9E
square
#6740AD #AD4050 #86AD40 #40AD9E
split-complementary
#6740AD #AD9E40 #50AD40
monochromatic
#321F54 #4C2F80 #6740AD #8764C6 #AA91D6

Accessibility & contrast

On white

7.21
#6740AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6740AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6740AD#FFFFFF#000000##FFFFFF
##6740AD1.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)
#0058B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#555970
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6740ad;
/* rgb */ color: rgb(103, 64, 173);
/* oklch */ color: oklch(47.5% 0.166 295.9);
Tailwind
colors: {
  custom: {
    50: '#9777c6',
    500: '#6740ad',
    950: '#000000',
  },
}
SCSS
$custom: #6740ad;
$custom-light: #9777c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6740ad",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 261.468,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4751,
    "c": 0.1662,
    "h": 295.9
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#6740AD
secondary
#ADC287
accent
#D652A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6740AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6740AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva