#6741E2#6741E2

#6741E2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.228 H 286.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6741E2
RGBrgb(103, 65, 226)
HSLhsl(254, 74%, 57%)
HSVhsv(254, 71%, 89%)
CMYKcmyk(54.4%, 71.2%, 0%, 11.4%)
CIE-LABlab(41.46, 55.59, -76.11)
CIE-LCHlch(41.46, 94.25, 306.14°)
OKLaboklab(51.98% 0.0638 -0.2189)
OKLCHoklch(51.98% 0.228 286.2)
XYZxyz(21.2072, 12.1540, 73.1652)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741E2 #BCE241
analogous
#416CE2 #6741E2 #B741E2
triadic
#6741E2 #E26741 #41E267
tetradic
#6741E2 #E2416C #BCE241 #41E2B7
square
#6741E2 #E2416C #BCE241 #41E2B7
split-complementary
#6741E2 #E2B741 #6CE241
monochromatic
#341692 #461EC7 #6741E2 #9176EA #BCABF2

Accessibility & contrast

On white

6.12
#6741E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6741E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741E2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741E2#FFFFFF#000000##FFFFFF
##6741E21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#316C8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6741e2;
/* rgb */ color: rgb(103, 65, 226);
/* oklch */ color: oklch(52.0% 0.228 286.2);
Tailwind
colors: {
  custom: {
    50: '#9e79ec',
    500: '#6741e2',
    950: '#000000',
  },
}
SCSS
$custom: #6741e2;
$custom-light: #9e79ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6741e2",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 254.161,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5198,
    "c": 0.22805,
    "h": 286.2
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#6741E2
secondary
#D1E09F
accent
#F038C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6741E2

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

Preview Lab → · Contrast checker → · Palette generator →

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