#6741C8#6741C8

#6741C8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.198 H 290.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6741C8
RGBrgb(103, 65, 200)
HSLhsl(257, 55%, 52%)
HSVhsv(257, 68%, 78%)
CMYKcmyk(48.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(39.30, 48.28, -64.69)
CIE-LCHlch(39.30, 80.72, 306.73°)
OKLaboklab(49.77% 0.0685 -0.1854)
OKLCHoklch(49.77% 0.198 290.3)
XYZxyz(17.9062, 10.8336, 55.7800)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741C8 #A2C841
analogous
#415FC8 #6741C8 #AB41C8
triadic
#6741C8 #C86741 #41C867
tetradic
#6741C8 #C8415F #A2C841 #41C8AB
square
#6741C8 #C8415F #A2C841 #41C8AB
split-complementary
#6741C8 #C8AB41 #5FC841
monochromatic
#36206F #4D2E9E #6741C8 #8D70D6 #B3A0E3

Accessibility & contrast

On white

6.63
#6741C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6741C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741C8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741C8#FFFFFF#000000##FFFFFF
##6741C81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#47637F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6741c8;
/* rgb */ color: rgb(103, 65, 200);
/* oklch */ color: oklch(49.8% 0.198 290.3);
Tailwind
colors: {
  custom: {
    50: '#9b78da',
    500: '#6741c8',
    950: '#000000',
  },
}
SCSS
$custom: #6741c8;
$custom-light: #9b78da;
$custom-dark: #000000;
JSON
{
  "hex": "#6741c8",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 256.889,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.19767,
    "h": 290.3
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#6741C8
secondary
#BFD095
accent
#DE49B4
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6741C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6741C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva