#6741BA#6741BA

#6741BA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.181 H 292.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6741BA
RGBrgb(103, 65, 186)
HSLhsl(259, 48%, 49%)
HSVhsv(259, 65%, 73%)
CMYKcmyk(44.6%, 65.1%, 0%, 27.1%)
CIE-LABlab(38.21, 44.36, -58.27)
CIE-LCHlch(38.21, 73.23, 307.28°)
OKLaboklab(48.65% 0.0703 -0.1666)
OKLCHoklch(48.65% 0.181 292.9)
XYZxyz(16.3443, 10.2088, 47.5542)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741BA #94BA41
analogous
#4158BA #6741BA #A441BA
triadic
#6741BA #BA6741 #41BA67
tetradic
#6741BA #BA4158 #94BA41 #41BAA4
square
#6741BA #BA4158 #94BA41 #41BAA4
split-complementary
#6741BA #BAA441 #58BA41
monochromatic
#35215F #4E318D #6741BA #8A6CCC #AE9ADC

Accessibility & contrast

On white

6.90
#6741BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6741BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741BA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741BA#FFFFFF#000000##FFFFFF
##6741BA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#4F5E78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6741ba;
/* rgb */ color: rgb(103, 65, 186);
/* oklch */ color: oklch(48.7% 0.181 292.9);
Tailwind
colors: {
  custom: {
    50: '#9978d0',
    500: '#6741ba',
    950: '#000000',
  },
}
SCSS
$custom: #6741ba;
$custom-light: #9978d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6741ba",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 258.843,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48652,
    "c": 0.1808,
    "h": 292.9
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#6741BA
secondary
#B6C88F
accent
#D850AD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6741BA

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

Preview Lab → · Contrast checker → · Palette generator →

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