#6740FF#6740FF

#6740FF is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.261 H 282.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6740FF
RGBrgb(103, 64, 255)
HSLhsl(252, 100%, 63%)
HSVhsv(252, 75%, 100%)
CMYKcmyk(59.6%, 74.9%, 0%, 0%)
CIE-LABlab(43.90, 64.17, -88.44)
CIE-LCHlch(43.90, 109.27, 305.97°)
OKLaboklab(54.49% 0.0579 -0.255)
OKLCHoklch(54.49% 0.261 282.8)
XYZxyz(25.4713, 13.7686, 95.9037)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6740FF #D8FF40
analogous
#4079FF #6740FF #C640FF
triadic
#6740FF #FF6740 #40FF67
tetradic
#6740FF #FF4079 #D8FF40 #40FFC6
square
#6740FF #FF4079 #D8FF40 #40FFC6
split-complementary
#6740FF #FFC640 #79FF40
monochromatic
#2800C5 #3603FF #6740FF #987DFF #C8BAFF

Accessibility & contrast

On white

5.59
#6740FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6740FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6740FF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6740FF#FFFFFF#000000##FFFFFF
##6740FF1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EFF
Deuteranopia (green-blind)
#0061FC
Tritanopia (blue-blind)
#00779E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6740ff;
/* rgb */ color: rgb(103, 64, 255);
/* oklch */ color: oklch(54.5% 0.261 282.8);
Tailwind
colors: {
  custom: {
    50: '#a37aff',
    500: '#6740ff',
    950: '#000000',
  },
}
SCSS
$custom: #6740ff;
$custom-light: #a37aff;
$custom-dark: #000000;
JSON
{
  "hex": "#6740ff",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 255
  },
  "hsl": {
    "h": 252.251,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.26149,
    "h": 282.8
  },
  "luminance": 0.1377
}

Semantic roles & 50–950 ramp

primary
#6740FF
secondary
#E2F0AB
accent
#E600B7
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110918
muted
#807B86

Preview Lab

Preview with #6740FF

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

Preview Lab → · Contrast checker → · Palette generator →

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