#7041A2#7041A2

#7041A2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.153 H 303.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7041A2
RGBrgb(112, 65, 162)
HSLhsl(269, 43%, 45%)
HSVhsv(269, 60%, 64%)
CMYKcmyk(30.9%, 59.9%, 0%, 36.5%)
CIE-LABlab(37.54, 39.97, -45.05)
CIE-LCHlch(37.54, 60.22, 311.58°)
OKLaboklab(47.86% 0.0842 -0.1274)
OKLCHoklch(47.86% 0.153 303.5)
XYZxyz(15.0925, 9.8340, 35.2785)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041A2 #73A241
analogous
#4143A2 #7041A2 #A141A2
triadic
#7041A2 #A27041 #41A270
tetradic
#7041A2 #A24143 #73A241 #41A2A1
square
#7041A2 #A24143 #73A241 #41A2A1
split-complementary
#7041A2 #A2A141 #43A241
monochromatic
#341E4B #522F76 #7041A2 #8F61BF #AE8CD1

Accessibility & contrast

On white

7.08
#7041A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7041A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7041A2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041A2#FFFFFF#000000##FFFFFF
##7041A21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#67556B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7041a2;
/* rgb */ color: rgb(112, 65, 162);
/* oklch */ color: oklch(47.9% 0.153 303.5);
Tailwind
colors: {
  custom: {
    50: '#9c78be',
    500: '#7041a2',
    950: '#000000',
  },
}
SCSS
$custom: #7041a2;
$custom-light: #9c78be;
$custom-dark: #000000;
JSON
{
  "hex": "#7041a2",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 269.072,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47862,
    "c": 0.15273,
    "h": 303.5
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#7041A2
secondary
#A0BC83
accent
#D35596
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #7041A2

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

Preview Lab → · Contrast checker → · Palette generator →

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