#7041AE#7041AE

#7041AE is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.167 H 300.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7041AE
RGBrgb(112, 65, 174)
HSLhsl(266, 46%, 47%)
HSVhsv(266, 63%, 68%)
CMYKcmyk(35.6%, 62.6%, 0%, 31.8%)
CIE-LABlab(38.34, 43.05, -50.92)
CIE-LCHlch(38.34, 66.68, 310.21°)
OKLaboklab(48.7% 0.0838 -0.1447)
OKLCHoklch(48.7% 0.167 300.1)
XYZxyz(16.2105, 10.2812, 41.1666)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041AE #7FAE41
analogous
#4148AE #7041AE #A741AE
triadic
#7041AE #AE7041 #41AE70
tetradic
#7041AE #AE4148 #7FAE41 #41AEA7
square
#7041AE #AE4148 #7FAE41 #41AEA7
split-complementary
#7041AE #AEA741 #48AE41
monochromatic
#372055 #533081 #7041AE #9066C6 #B093D7

Accessibility & contrast

On white

6.87
#7041AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7041AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041AE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041AE#FFFFFF#000000##FFFFFF
##7041AE1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#1759AC
Tritanopia (blue-blind)
#635971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7041ae;
/* rgb */ color: rgb(112, 65, 174);
/* oklch */ color: oklch(48.7% 0.167 300.1);
Tailwind
colors: {
  custom: {
    50: '#9d78c7',
    500: '#7041ae',
    950: '#000000',
  },
}
SCSS
$custom: #7041ae;
$custom-light: #9d78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7041ae",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 265.872,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.16719,
    "h": 300.1
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#7041AE
secondary
#A9C289
accent
#D5539D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7041AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7041AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva