#6741BE#6741BE

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

Color values

HEX#6741BE
RGBrgb(103, 65, 190)
HSLhsl(258, 49%, 50%)
HSVhsv(258, 66%, 75%)
CMYKcmyk(45.8%, 65.8%, 0%, 25.5%)
CIE-LABlab(38.52, 45.47, -60.12)
CIE-LCHlch(38.52, 75.38, 307.10°)
OKLaboklab(48.97% 0.0699 -0.172)
OKLCHoklch(48.97% 0.186 292.1)
XYZxyz(16.7755, 10.3813, 49.8251)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741BE #98BE41
analogous
#4159BE #6741BE #A641BE
triadic
#6741BE #BE6741 #41BE67
tetradic
#6741BE #BE4159 #98BE41 #41BEA6
square
#6741BE #BE4159 #98BE41 #41BEA6
split-complementary
#6741BE #BEA641 #59BE41
monochromatic
#362263 #4E3190 #6741BE #8B6FCE #B09CDD

Accessibility & contrast

On white

6.83
#6741BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6741BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741BE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741BE#FFFFFF#000000##FFFFFF
##6741BE1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#4D5F7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6741be;
/* rgb */ color: rgb(103, 65, 190);
/* oklch */ color: oklch(49.0% 0.186 292.1);
Tailwind
colors: {
  custom: {
    50: '#9978d2',
    500: '#6741be',
    950: '#000000',
  },
}
SCSS
$custom: #6741be;
$custom-light: #9978d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6741be",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 258.24,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.48967,
    "c": 0.18566,
    "h": 292.1
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6741BE

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

Preview Lab → · Contrast checker → · Palette generator →

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