#6741B3#6741B3

#6741B3 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.172 H 294.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6741B3
RGBrgb(103, 65, 179)
HSLhsl(260, 47%, 48%)
HSVhsv(260, 64%, 70%)
CMYKcmyk(42.5%, 63.7%, 0%, 29.8%)
CIE-LABlab(37.70, 42.42, -54.98)
CIE-LCHlch(37.70, 69.44, 307.65°)
OKLaboklab(48.11% 0.071 -0.1569)
OKLCHoklch(48.11% 0.172 294.4)
XYZxyz(15.6183, 9.9184, 43.7306)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741B3 #8DB341
analogous
#4154B3 #6741B3 #A041B3
triadic
#6741B3 #B36741 #41B367
tetradic
#6741B3 #B34154 #8DB341 #41B3A0
square
#6741B3 #B34154 #8DB341 #41B3A0
split-complementary
#6741B3 #B3A041 #54B341
monochromatic
#332059 #4D3186 #6741B3 #8969C8 #AC96D9

Accessibility & contrast

On white

7.04
#6741B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6741B3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741B3#FFFFFF#000000##FFFFFF
##6741B31.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#535B74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6741b3;
/* rgb */ color: rgb(103, 65, 179);
/* oklch */ color: oklch(48.1% 0.172 294.4);
Tailwind
colors: {
  custom: {
    50: '#9878ca',
    500: '#6741b3',
    950: '#000000',
  },
}
SCSS
$custom: #6741b3;
$custom-light: #9878ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6741b3",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 260,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48113,
    "c": 0.17222,
    "h": 294.4
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6741B3

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

Preview Lab → · Contrast checker → · Palette generator →

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