#6741BF#6741BF

#6741BF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.187 H 291.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6741BF
RGBrgb(103, 65, 191)
HSLhsl(258, 50%, 50%)
HSVhsv(258, 66%, 75%)
CMYKcmyk(46.1%, 66%, 0%, 25.1%)
CIE-LABlab(38.59, 45.75, -60.58)
CIE-LCHlch(38.59, 75.92, 307.06°)
OKLaboklab(49.05% 0.0697 -0.1734)
OKLCHoklch(49.05% 0.187 291.9)
XYZxyz(16.8852, 10.4252, 50.4027)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741BF #99BF41
analogous
#415ABF #6741BF #A641BF
triadic
#6741BF #BF6741 #41BF67
tetradic
#6741BF #BF415A #99BF41 #41BFA6
square
#6741BF #BF415A #99BF41 #41BFA6
split-complementary
#6741BF #BFA641 #5ABF41
monochromatic
#362264 #4E3192 #6741BF #8C6FCE #B09DDE

Accessibility & contrast

On white

6.81
#6741BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6741BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741BF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741BF#FFFFFF#000000##FFFFFF
##6741BF1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#4C5F7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6741bf;
/* rgb */ color: rgb(103, 65, 191);
/* oklch */ color: oklch(49.0% 0.187 291.9);
Tailwind
colors: {
  custom: {
    50: '#9978d3',
    500: '#6741bf',
    950: '#000000',
  },
}
SCSS
$custom: #6741bf;
$custom-light: #9978d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6741bf",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 258.095,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.18687,
    "h": 291.9
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#6741BF
secondary
#B9CA92
accent
#D94FAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6741BF

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

Preview Lab → · Contrast checker → · Palette generator →

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