#6741DC#6741DC

#6741DC is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.221 H 287.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6741DC
RGBrgb(103, 65, 220)
HSLhsl(255, 69%, 56%)
HSVhsv(255, 70%, 86%)
CMYKcmyk(53.2%, 70.5%, 0%, 13.7%)
CIE-LABlab(40.95, 53.90, -73.53)
CIE-LCHlch(40.95, 91.17, 306.24°)
OKLaboklab(51.46% 0.065 -0.2114)
OKLCHoklch(51.46% 0.221 287.1)
XYZxyz(20.3982, 11.8304, 68.9049)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741DC #B6DC41
analogous
#4168DC #6741DC #B541DC
triadic
#6741DC #DC6741 #41DC67
tetradic
#6741DC #DC4168 #B6DC41 #41DCB5
square
#6741DC #DC4168 #B6DC41 #41DCB5
split-complementary
#6741DC #DCB541 #68DC41
monochromatic
#351989 #4923BD #6741DC #9075E6 #BAA8EF

Accessibility & contrast

On white

6.24
#6741DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6741DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741DC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741DC#FFFFFF#000000##FFFFFF
##6741DC1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#376A8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6741dc;
/* rgb */ color: rgb(103, 65, 220);
/* oklch */ color: oklch(51.5% 0.221 287.1);
Tailwind
colors: {
  custom: {
    50: '#9d79e8',
    500: '#6741dc',
    950: '#000000',
  },
}
SCSS
$custom: #6741dc;
$custom-light: #9d79e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6741dc",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 254.71,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.22115,
    "h": 287.1
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#6741DC
secondary
#CDDD9C
accent
#EC3CC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6741DC

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

Preview Lab → · Contrast checker → · Palette generator →

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