#6740CD#6740CD

#6740CD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.0% C 0.205 H 289.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6740CD
RGBrgb(103, 64, 205)
HSLhsl(257, 59%, 53%)
HSVhsv(257, 69%, 80%)
CMYKcmyk(49.8%, 68.8%, 0%, 19.6%)
CIE-LABlab(39.51, 50.21, -67.25)
CIE-LCHlch(39.51, 83.92, 306.75°)
OKLaboklab(50.05% 0.0686 -0.1929)
OKLCHoklch(50.05% 0.205 289.6)
XYZxyz(18.4432, 10.9574, 58.8890)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6740CD #A6CD40
analogous
#405FCD #6740CD #AE40CD
triadic
#6740CD #CD6740 #40CD67
tetradic
#6740CD #CD405F #A6CD40 #40CDAE
square
#6740CD #CD405F #A6CD40 #40CDAE
split-complementary
#6740CD #CDAE40 #5FCD40
monochromatic
#361E74 #4D2BA5 #6740CD #8E71DA #B4A1E6

Accessibility & contrast

On white

6.58
#6740CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6740CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6740CD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6740CD#FFFFFF#000000##FFFFFF
##6740CD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#446482
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6740cd;
/* rgb */ color: rgb(103, 64, 205);
/* oklch */ color: oklch(50.0% 0.205 289.6);
Tailwind
colors: {
  custom: {
    50: '#9b78dd',
    500: '#6740cd',
    950: '#000000',
  },
}
SCSS
$custom: #6740cd;
$custom-light: #9b78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6740cd",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 256.596,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.20478,
    "h": 289.6
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#6740CD
secondary
#C2D396
accent
#E246B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6740CD

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

Preview Lab → · Contrast checker → · Palette generator →

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