#6741B2#6741B2

#6741B2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.171 H 294.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6741B2
RGBrgb(103, 65, 178)
HSLhsl(260, 47%, 48%)
HSVhsv(260, 63%, 70%)
CMYKcmyk(42.1%, 63.5%, 0%, 30.2%)
CIE-LABlab(37.62, 42.14, -54.51)
CIE-LCHlch(37.62, 68.90, 307.71°)
OKLaboklab(48.04% 0.0711 -0.1555)
OKLCHoklch(48.04% 0.171 294.6)
XYZxyz(15.5176, 9.8781, 43.1999)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741B2 #8CB241
analogous
#4153B2 #6741B2 #9F41B2
triadic
#6741B2 #B26741 #41B267
tetradic
#6741B2 #B24153 #8CB241 #41B29F
square
#6741B2 #B24153 #8CB241 #41B29F
split-complementary
#6741B2 #B29F41 #53B241
monochromatic
#332058 #4D3185 #6741B2 #8868C8 #AC95D8

Accessibility & contrast

On white

7.06
#6741B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6741B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6741B2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741B2#FFFFFF#000000##FFFFFF
##6741B21.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#535B73
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6741b2;
/* rgb */ color: rgb(103, 65, 178);
/* oklch */ color: oklch(48.0% 0.171 294.6);
Tailwind
colors: {
  custom: {
    50: '#9878ca',
    500: '#6741b2',
    950: '#000000',
  },
}
SCSS
$custom: #6741b2;
$custom-light: #9878ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6741b2",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 260.177,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.17099,
    "h": 294.6
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

primary
#6741B2
secondary
#B1C48B
accent
#D652AA
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6741B2

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

Preview Lab → · Contrast checker → · Palette generator →

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