#6740CE#6740CE

#6740CE is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.1% C 0.206 H 289.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#6740CE
RGBrgb(103, 64, 206)
HSLhsl(256, 59%, 53%)
HSVhsv(256, 69%, 81%)
CMYKcmyk(50%, 68.9%, 0%, 19.2%)
CIE-LABlab(39.59, 50.49, -67.69)
CIE-LCHlch(39.59, 84.45, 306.72°)
OKLaboklab(50.13% 0.0685 -0.1942)
OKLCHoklch(50.13% 0.206 289.4)
XYZxyz(18.5643, 11.0058, 59.5267)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6740CE #A7CE40
analogous
#4060CE #6740CE #AE40CE
triadic
#6740CE #CE6740 #40CE67
tetradic
#6740CE #CE4060 #A7CE40 #40CEAE
square
#6740CE #CE4060 #A7CE40 #40CEAE
split-complementary
#6740CE #CEAE40 #60CE40
monochromatic
#361E75 #4D2BA6 #6740CE #8E71DA #B5A1E7

Accessibility & contrast

On white

6.56
#6740CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6740CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6740CE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6740CE#FFFFFF#000000##FFFFFF
##6740CE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#436482
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6740ce;
/* rgb */ color: rgb(103, 64, 206);
/* oklch */ color: oklch(50.1% 0.206 289.4);
Tailwind
colors: {
  custom: {
    50: '#9b78de',
    500: '#6740ce',
    950: '#000000',
  },
}
SCSS
$custom: #6740ce;
$custom-light: #9b78de;
$custom-dark: #000000;
JSON
{
  "hex": "#6740ce",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 256.479,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.20596,
    "h": 289.4
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#6740CE
secondary
#C3D496
accent
#E245B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6740CE

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

Preview Lab → · Contrast checker → · Palette generator →

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