#6741B5#6741B5

#6741B5 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.175 H 293.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6741B5
RGBrgb(103, 65, 181)
HSLhsl(260, 47%, 48%)
HSVhsv(260, 64%, 71%)
CMYKcmyk(43.1%, 64.1%, 0%, 29%)
CIE-LABlab(37.84, 42.97, -55.93)
CIE-LCHlch(37.84, 70.53, 307.54°)
OKLaboklab(48.27% 0.0708 -0.1597)
OKLCHoklch(48.27% 0.175 293.9)
XYZxyz(15.8221, 9.9999, 44.8037)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741B5 #8FB541
analogous
#4155B5 #6741B5 #A141B5
triadic
#6741B5 #B56741 #41B567
tetradic
#6741B5 #B54155 #8FB541 #41B5A1
square
#6741B5 #B54155 #8FB541 #41B5A1
split-complementary
#6741B5 #B5A141 #55B541
monochromatic
#34215B #4D3188 #6741B5 #896AC9 #AD97DA

Accessibility & contrast

On white

7.00
#6741B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6741B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741B5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741B5#FFFFFF#000000##FFFFFF
##6741B51.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#525C75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6741b5;
/* rgb */ color: rgb(103, 65, 181);
/* oklch */ color: oklch(48.3% 0.175 293.9);
Tailwind
colors: {
  custom: {
    50: '#9878cc',
    500: '#6741b5',
    950: '#000000',
  },
}
SCSS
$custom: #6741b5;
$custom-light: #9878cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6741b5",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 259.655,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.17468,
    "h": 293.9
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#6741B5
secondary
#B3C58C
accent
#D751AB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6741B5

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

Preview Lab → · Contrast checker → · Palette generator →

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