#6740CF#6740CF

#6740CF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.2% C 0.207 H 289.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6740CF
RGBrgb(103, 64, 207)
HSLhsl(256, 60%, 53%)
HSVhsv(256, 69%, 81%)
CMYKcmyk(50.2%, 69.1%, 0%, 18.8%)
CIE-LABlab(39.67, 50.77, -68.14)
CIE-LCHlch(39.67, 84.97, 306.69°)
OKLaboklab(50.22% 0.0683 -0.1955)
OKLCHoklch(50.22% 0.207 289.3)
XYZxyz(18.6861, 11.0545, 60.1685)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6740CF #A8CF40
analogous
#4060CF #6740CF #AF40CF
triadic
#6740CF #CF6740 #40CF67
tetradic
#6740CF #CF4060 #A8CF40 #40CFAF
square
#6740CF #CF4060 #A8CF40 #40CFAF
split-complementary
#6740CF #CFAF40 #60CF40
monochromatic
#361E77 #4C2AA8 #6740CF #8E71DB #B5A2E8

Accessibility & contrast

On white

6.54
#6740CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6740CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6740CF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6740CF#FFFFFF#000000##FFFFFF
##6740CF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#426583
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6740cf;
/* rgb */ color: rgb(103, 64, 207);
/* oklch */ color: oklch(50.2% 0.207 289.3);
Tailwind
colors: {
  custom: {
    50: '#9c78df',
    500: '#6740cf',
    950: '#000000',
  },
}
SCSS
$custom: #6740cf;
$custom-light: #9c78df;
$custom-dark: #000000;
JSON
{
  "hex": "#6740cf",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 256.364,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50215,
    "c": 0.20713,
    "h": 289.3
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#6740CF
secondary
#C3D497
accent
#E345B8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6740CF

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

Preview Lab → · Contrast checker → · Palette generator →

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