#6741EA#6741EA

#6741EA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.237 H 285.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6741EA
RGBrgb(103, 65, 234)
HSLhsl(253, 80%, 59%)
HSVhsv(253, 72%, 92%)
CMYKcmyk(56%, 72.2%, 0%, 8.2%)
CIE-LABlab(42.16, 57.84, -79.50)
CIE-LCHlch(42.16, 98.32, 306.04°)
OKLaboklab(52.69% 0.0621 -0.2289)
OKLCHoklch(52.69% 0.237 285.2)
XYZxyz(22.3306, 12.6034, 79.0820)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6741EA #C4EA41
analogous
#416FEA #6741EA #BB41EA
triadic
#6741EA #EA6741 #41EA67
tetradic
#6741EA #EA416F #C4EA41 #41EABB
square
#6741EA #EA416F #C4EA41 #41EABB
split-complementary
#6741EA #EABB41 #6FEA41
monochromatic
#31129F #4218D6 #6741EA #9378F0 #BFAFF6

Accessibility & contrast

On white

5.96
#6741EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6741EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6741EA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6741EA#FFFFFF#000000##FFFFFF
##6741EA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#266F92
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6741ea;
/* rgb */ color: rgb(103, 65, 234);
/* oklch */ color: oklch(52.7% 0.237 285.2);
Tailwind
colors: {
  custom: {
    50: '#9f79f2',
    500: '#6741ea',
    950: '#000000',
  },
}
SCSS
$custom: #6741ea;
$custom-light: #9f79f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6741ea",
  "rgb": {
    "r": 103,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 253.491,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.23716,
    "h": 285.2
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#6741EA
secondary
#D6E5A2
accent
#F731CA
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6741EA

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

Preview Lab → · Contrast checker → · Palette generator →

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