#6741DF#6741DF

#6741DF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.225 H 286.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6741DF
RGBrgb(103, 65, 223)
HSLhsl(254, 71%, 56%)
HSVhsv(254, 71%, 87%)
CMYKcmyk(53.8%, 70.9%, 0%, 12.5%)
CIE-LABlab(41.20, 54.75, -74.82)
CIE-LCHlch(41.20, 92.71, 306.19°)
OKLaboklab(51.72% 0.0644 -0.2152)
OKLCHoklch(51.72% 0.225 286.7)
XYZxyz(20.7991, 11.9908, 71.0162)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741DF #B9DF41
analogous
#416ADF #6741DF #B641DF
triadic
#6741DF #DF6741 #41DF67
tetradic
#6741DF #DF416A #B9DF41 #41DFB6
square
#6741DF #DF416A #B9DF41 #41DFB6
split-complementary
#6741DF #DFB641 #6ADF41
monochromatic
#34188E #4821C2 #6741DF #9175E8 #BBAAF1

Accessibility & contrast

On white

6.18
#6741DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6741DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741DF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741DF#FFFFFF#000000##FFFFFF
##6741DF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#346B8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6741df;
/* rgb */ color: rgb(103, 65, 223);
/* oklch */ color: oklch(51.7% 0.225 286.7);
Tailwind
colors: {
  custom: {
    50: '#9e79ea',
    500: '#6741df',
    950: '#000000',
  },
}
SCSS
$custom: #6741df;
$custom-light: #9e79ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6741df",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 254.43,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.22461,
    "h": 286.7
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#6741DF
secondary
#CFDE9D
accent
#EE3AC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6741DF

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

Preview Lab → · Contrast checker → · Palette generator →

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