#6741D8#6741D8

#6741D8 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.1% C 0.217 H 287.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6741D8
RGBrgb(103, 65, 216)
HSLhsl(255, 66%, 55%)
HSVhsv(255, 70%, 85%)
CMYKcmyk(52.3%, 69.9%, 0%, 15.3%)
CIE-LABlab(40.61, 52.78, -71.79)
CIE-LCHlch(40.61, 89.10, 306.32°)
OKLaboklab(51.11% 0.0658 -0.2063)
OKLCHoklch(51.11% 0.217 287.7)
XYZxyz(19.8748, 11.6210, 66.1483)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741D8 #B2D841
analogous
#4167D8 #6741D8 #B241D8
triadic
#6741D8 #D86741 #41D867
tetradic
#6741D8 #D84167 #B2D841 #41D8B2
square
#6741D8 #D84167 #B2D841 #41D8B2
split-complementary
#6741D8 #D8B241 #67D841
monochromatic
#351B84 #4A25B6 #6741D8 #9074E2 #B8A7ED

Accessibility & contrast

On white

6.32
#6741D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6741D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741D8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741D8#FFFFFF#000000##FFFFFF
##6741D81.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#3B6988
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6741d8;
/* rgb */ color: rgb(103, 65, 216);
/* oklch */ color: oklch(51.1% 0.217 287.7);
Tailwind
colors: {
  custom: {
    50: '#9d79e5',
    500: '#6741d8',
    950: '#000000',
  },
}
SCSS
$custom: #6741d8;
$custom-light: #9d79e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6741d8",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 255.099,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.21651,
    "h": 287.7
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#6741D8
secondary
#CADA9B
accent
#E93FBE
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6741D8

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

Preview Lab → · Contrast checker → · Palette generator →

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