#6741BC#6741BC

#6741BC is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.183 H 292.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6741BC
RGBrgb(103, 65, 188)
HSLhsl(259, 49%, 50%)
HSVhsv(259, 65%, 74%)
CMYKcmyk(45.2%, 65.4%, 0%, 26.3%)
CIE-LABlab(38.37, 44.92, -59.20)
CIE-LCHlch(38.37, 74.31, 307.19°)
OKLaboklab(48.81% 0.0701 -0.1693)
OKLCHoklch(48.81% 0.183 292.5)
XYZxyz(16.5584, 10.2945, 48.6818)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741BC #96BC41
analogous
#4158BC #6741BC #A541BC
triadic
#6741BC #BC6741 #41BC67
tetradic
#6741BC #BC4158 #96BC41 #41BCA5
square
#6741BC #BC4158 #96BC41 #41BCA5
split-complementary
#6741BC #BCA541 #58BC41
monochromatic
#352261 #4E318F #6741BC #8B6ECD #AF9BDC

Accessibility & contrast

On white

6.86
#6741BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6741BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741BC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741BC#FFFFFF#000000##FFFFFF
##6741BC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#4E5E79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6741bc;
/* rgb */ color: rgb(103, 65, 188);
/* oklch */ color: oklch(48.8% 0.183 292.5);
Tailwind
colors: {
  custom: {
    50: '#9978d1',
    500: '#6741bc',
    950: '#000000',
  },
}
SCSS
$custom: #6741bc;
$custom-light: #9978d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6741bc",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 258.537,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.18324,
    "h": 292.5
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#6741BC
secondary
#B7C990
accent
#D850AE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6741BC

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

Preview Lab → · Contrast checker → · Palette generator →

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