#6741DB#6741DB

#6741DB is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.220 H 287.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6741DB
RGBrgb(103, 65, 219)
HSLhsl(255, 68%, 56%)
HSVhsv(255, 70%, 86%)
CMYKcmyk(53%, 70.3%, 0%, 14.1%)
CIE-LABlab(40.86, 53.62, -73.09)
CIE-LCHlch(40.86, 90.65, 306.26°)
OKLaboklab(51.37% 0.0652 -0.2101)
OKLCHoklch(51.37% 0.22 287.2)
XYZxyz(20.2662, 11.7776, 68.2095)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741DB #B5DB41
analogous
#4168DB #6741DB #B441DB
triadic
#6741DB #DB6741 #41DB67
tetradic
#6741DB #DB4168 #B5DB41 #41DBB4
square
#6741DB #DB4168 #B5DB41 #41DBB4
split-complementary
#6741DB #DBB441 #68DB41
monochromatic
#351A88 #4923BB #6741DB #9074E5 #B9A8EE

Accessibility & contrast

On white

6.26
#6741DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6741DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741DB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741DB#FFFFFF#000000##FFFFFF
##6741DB1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#386A8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6741db;
/* rgb */ color: rgb(103, 65, 219);
/* oklch */ color: oklch(51.4% 0.220 287.2);
Tailwind
colors: {
  custom: {
    50: '#9d79e7',
    500: '#6741db',
    950: '#000000',
  },
}
SCSS
$custom: #6741db;
$custom-light: #9d79e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6741db",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 254.805,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5137,
    "c": 0.22,
    "h": 287.2
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#6741DB
secondary
#CCDC9C
accent
#EB3DC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6741DB

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

Preview Lab → · Contrast checker → · Palette generator →

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