#7341A2#7341A2

#7341A2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.2% C 0.153 H 305.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7341A2
RGBrgb(115, 65, 162)
HSLhsl(271, 43%, 45%)
HSVhsv(271, 60%, 64%)
CMYKcmyk(29%, 59.9%, 0%, 36.5%)
CIE-LABlab(37.90, 40.71, -44.45)
CIE-LCHlch(37.90, 60.28, 312.49°)
OKLaboklab(48.21% 0.0883 -0.1256)
OKLCHoklch(48.21% 0.153 305.1)
XYZxyz(15.4807, 10.0342, 35.2967)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7341A2 #70A241
analogous
#4341A2 #7341A2 #A241A1
triadic
#7341A2 #A27341 #41A273
tetradic
#7341A2 #A24341 #70A241 #41A1A2
square
#7341A2 #A24341 #70A241 #41A1A2
split-complementary
#7341A2 #A1A241 #41A243
monochromatic
#351E4B #542F76 #7341A2 #9261BF #B08CD1

Accessibility & contrast

On white

6.98
#7341A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7341A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7341A2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7341A2#FFFFFF#000000##FFFFFF
##7341A21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#6B546B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7341a2;
/* rgb */ color: rgb(115, 65, 162);
/* oklch */ color: oklch(48.2% 0.153 305.1);
Tailwind
colors: {
  custom: {
    50: '#9e78be',
    500: '#7341a2',
    950: '#000000',
  },
}
SCSS
$custom: #7341a2;
$custom-light: #9e78be;
$custom-dark: #000000;
JSON
{
  "hex": "#7341a2",
  "rgb": {
    "r": 115,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 270.928,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.15349,
    "h": 305.1
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#7341A2
secondary
#9FBC83
accent
#D35592
background
#FAF7FB
surface
#F3EDF7
border
#CDC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7341A2

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

Preview Lab → · Contrast checker → · Palette generator →

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