#7341AC#7341AC

#7341AC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.165 H 302.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7341AC
RGBrgb(115, 65, 172)
HSLhsl(268, 45%, 46%)
HSVhsv(268, 62%, 67%)
CMYKcmyk(33.1%, 62.2%, 0%, 32.5%)
CIE-LABlab(38.56, 43.22, -49.37)
CIE-LCHlch(38.56, 65.62, 311.20°)
OKLaboklab(48.89% 0.088 -0.14)
OKLCHoklch(48.89% 0.165 302.2)
XYZxyz(16.4052, 10.4040, 40.1656)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7341AC #7AAC41
analogous
#4145AC #7341AC #A941AC
triadic
#7341AC #AC7341 #41AC73
tetradic
#7341AC #AC4145 #7AAC41 #41ACA9
square
#7341AC #AC4145 #7AAC41 #41ACA9
split-complementary
#7341AC #ACA941 #45AC41
monochromatic
#381F53 #553080 #7341AC #9265C5 #B192D6

Accessibility & contrast

On white

6.82
#7341AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7341AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7341AC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7341AC#FFFFFF#000000##FFFFFF
##7341AC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#205AAA
Tritanopia (blue-blind)
#685870
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7341ac;
/* rgb */ color: rgb(115, 65, 172);
/* oklch */ color: oklch(48.9% 0.165 302.2);
Tailwind
colors: {
  custom: {
    50: '#9f78c5',
    500: '#7341ac',
    950: '#000000',
  },
}
SCSS
$custom: #7341ac;
$custom-light: #9f78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7341ac",
  "rgb": {
    "r": 115,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 268.037,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48891,
    "c": 0.16537,
    "h": 302.2
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#7341AC
secondary
#A6C188
accent
#D55398
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7341AC

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

Preview Lab → · Contrast checker → · Palette generator →

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