#6741D3#6741D3

#6741D3 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.7% C 0.211 H 288.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6741D3
RGBrgb(103, 65, 211)
HSLhsl(256, 62%, 54%)
HSVhsv(256, 69%, 83%)
CMYKcmyk(51.2%, 69.2%, 0%, 17.3%)
CIE-LABlab(40.19, 51.37, -69.60)
CIE-LCHlch(40.19, 86.50, 306.43°)
OKLaboklab(50.69% 0.0667 -0.1998)
OKLCHoklch(50.69% 0.211 288.5)
XYZxyz(19.2383, 11.3664, 62.7956)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741D3 #ADD341
analogous
#4164D3 #6741D3 #B041D3
triadic
#6741D3 #D36741 #41D367
tetradic
#6741D3 #D34164 #ADD341 #41D3B0
square
#6741D3 #D34164 #ADD341 #41D3B0
split-complementary
#6741D3 #D3B041 #64D341
monochromatic
#361D7D #4B28AE #6741D3 #8F73DF #B7A4EA

Accessibility & contrast

On white

6.42
#6741D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6741D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741D3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741D3#FFFFFF#000000##FFFFFF
##6741D31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#3F6785
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6741d3;
/* rgb */ color: rgb(103, 65, 211);
/* oklch */ color: oklch(50.7% 0.211 288.5);
Tailwind
colors: {
  custom: {
    50: '#9c79e2',
    500: '#6741d3',
    950: '#000000',
  },
}
SCSS
$custom: #6741d3;
$custom-light: #9c79e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6741d3",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 255.616,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.21067,
    "h": 288.5
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#6741D3
secondary
#C7D799
accent
#E542BB
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6741D3

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

Preview Lab → · Contrast checker → · Palette generator →

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