#6740CA#6740CA

#6740CA is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.8% C 0.201 H 290.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6740CA
RGBrgb(103, 64, 202)
HSLhsl(257, 57%, 52%)
HSVhsv(257, 68%, 79%)
CMYKcmyk(49%, 68.3%, 0%, 20.8%)
CIE-LABlab(39.27, 49.37, -65.90)
CIE-LCHlch(39.27, 82.34, 306.84°)
OKLaboklab(49.8% 0.0691 -0.189)
OKLCHoklch(49.8% 0.201 290.1)
XYZxyz(18.0845, 10.8139, 57.0001)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6740CA #A3CA40
analogous
#405ECA #6740CA #AC40CA
triadic
#6740CA #CA6740 #40CA67
tetradic
#6740CA #CA405E #A3CA40 #40CAAC
square
#6740CA #CA405E #A3CA40 #40CAAC
split-complementary
#6740CA #CAAC40 #5ECA40
monochromatic
#361F70 #4D2CA0 #6740CA #8D70D7 #B3A0E5

Accessibility & contrast

On white

6.64
#6740CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6740CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6740CA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6740CA#FFFFFF#000000##FFFFFF
##6740CA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#466380
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6740ca;
/* rgb */ color: rgb(103, 64, 202);
/* oklch */ color: oklch(49.8% 0.201 290.1);
Tailwind
colors: {
  custom: {
    50: '#9b78db',
    500: '#6740ca',
    950: '#000000',
  },
}
SCSS
$custom: #6740ca;
$custom-light: #9b78db;
$custom-dark: #000000;
JSON
{
  "hex": "#6740ca",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 256.957,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49798,
    "c": 0.20125,
    "h": 290.1
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#6740CA
secondary
#C0D195
accent
#E048B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6740CA

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

Preview Lab → · Contrast checker → · Palette generator →

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