#7340A5#7340A5

#7340A5 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.159 H 304.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7340A5
RGBrgb(115, 64, 165)
HSLhsl(270, 44%, 45%)
HSVhsv(270, 61%, 65%)
CMYKcmyk(30.3%, 61.2%, 0%, 35.3%)
CIE-LABlab(37.89, 42.01, -46.27)
CIE-LCHlch(37.89, 62.49, 312.24°)
OKLaboklab(48.26% 0.0895 -0.1309)
OKLCHoklch(48.26% 0.159 304.4)
XYZxyz(15.6937, 10.0283, 36.6989)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7340A5 #72A540
analogous
#4040A5 #7340A5 #A540A5
triadic
#7340A5 #A57340 #40A573
tetradic
#7340A5 #A54040 #72A540 #40A5A5
square
#7340A5 #A54040 #72A540 #40A5A5
split-complementary
#7340A5 #A5A540 #40A540
monochromatic
#361E4D #542F79 #7340A5 #9261C2 #B08DD3

Accessibility & contrast

On white

6.99
#7340A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7340A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7340A5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7340A5#FFFFFF#000000##FFFFFF
##7340A51.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A58A8
Deuteranopia (green-blind)
#2859A3
Tritanopia (blue-blind)
#6A556C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7340a5;
/* rgb */ color: rgb(115, 64, 165);
/* oklch */ color: oklch(48.3% 0.159 304.4);
Tailwind
colors: {
  custom: {
    50: '#9f77c0',
    500: '#7340a5',
    950: '#000000',
  },
}
SCSS
$custom: #7340a5;
$custom-light: #9f77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7340a5",
  "rgb": {
    "r": 115,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 270.297,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4826,
    "c": 0.15856,
    "h": 304.4
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#7340A5
secondary
#A0BE83
accent
#D45493
background
#FAF7FB
surface
#F3EDF7
border
#CDC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7340A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7340A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva