#7341B2#7341B2

#7341B2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.172 H 300.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7341B2
RGBrgb(115, 65, 178)
HSLhsl(267, 47%, 48%)
HSVhsv(267, 63%, 70%)
CMYKcmyk(35.4%, 63.5%, 0%, 30.2%)
CIE-LABlab(38.97, 44.76, -52.27)
CIE-LCHlch(38.97, 68.81, 310.57°)
OKLaboklab(49.32% 0.0877 -0.1485)
OKLCHoklch(49.32% 0.172 300.5)
XYZxyz(16.9945, 10.6397, 43.2692)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7341B2 #80B241
analogous
#4147B2 #7341B2 #AC41B2
triadic
#7341B2 #B27341 #41B273
tetradic
#7341B2 #B24147 #80B241 #41B2AC
square
#7341B2 #B24147 #80B241 #41B2AC
split-complementary
#7341B2 #B2AC41 #47B241
monochromatic
#392058 #563185 #7341B2 #9368C8 #B395D8

Accessibility & contrast

On white

6.71
#7341B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7341B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7341B2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7341B2#FFFFFF#000000##FFFFFF
##7341B21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#145BB0
Tritanopia (blue-blind)
#665A73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7341b2;
/* rgb */ color: rgb(115, 65, 178);
/* oklch */ color: oklch(49.3% 0.172 300.5);
Tailwind
colors: {
  custom: {
    50: '#a078ca',
    500: '#7341b2',
    950: '#000000',
  },
}
SCSS
$custom: #7341b2;
$custom-light: #a078ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7341b2",
  "rgb": {
    "r": 115,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 266.549,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49318,
    "c": 0.17245,
    "h": 300.5
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#7341B2
secondary
#ABC48B
accent
#D6529C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7341B2

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

Preview Lab → · Contrast checker → · Palette generator →

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