#7341E2#7341E2

#7341E2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.228 H 290.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7341E2
RGBrgb(115, 65, 226)
HSLhsl(259, 74%, 57%)
HSVhsv(259, 71%, 89%)
CMYKcmyk(49.1%, 71.2%, 0%, 11.4%)
CIE-LABlab(42.64, 57.40, -74.14)
CIE-LCHlch(42.64, 93.76, 307.75°)
OKLaboklab(53.09% 0.0806 -0.2128)
OKLCHoklch(53.09% 0.228 290.7)
XYZxyz(22.6841, 12.9155, 73.2345)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7341E2 #B0E241
analogous
#415FE2 #7341E2 #C441E2
triadic
#7341E2 #E27341 #41E273
tetradic
#7341E2 #E2415F #B0E241 #41E2C4
square
#7341E2 #E2415F #B0E241 #41E2C4
split-complementary
#7341E2 #E2C441 #5FE241
monochromatic
#3D1692 #531EC7 #7341E2 #9A76EA #C1ABF2

Accessibility & contrast

On white

5.86
#7341E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7341E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7341E2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7341E2#FFFFFF#000000##FFFFFF
##7341E21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#4E6B8E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7341e2;
/* rgb */ color: rgb(115, 65, 226);
/* oklch */ color: oklch(53.1% 0.228 290.7);
Tailwind
colors: {
  custom: {
    50: '#a57aec',
    500: '#7341e2',
    950: '#000000',
  },
}
SCSS
$custom: #7341e2;
$custom-light: #a57aec;
$custom-dark: #000000;
JSON
{
  "hex": "#7341e2",
  "rgb": {
    "r": 115,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 258.634,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.22754,
    "h": 290.7
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#7341E2
secondary
#CCE09F
accent
#F038B7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7341E2

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

Preview Lab → · Contrast checker → · Palette generator →

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