#7041B5#7041B5

#7041B5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.176 H 298.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7041B5
RGBrgb(112, 65, 181)
HSLhsl(264, 47%, 48%)
HSVhsv(264, 64%, 71%)
CMYKcmyk(38.1%, 64.1%, 0%, 29%)
CIE-LABlab(38.83, 44.88, -54.28)
CIE-LCHlch(38.83, 70.43, 309.58°)
OKLaboklab(49.21% 0.0833 -0.1545)
OKLCHoklch(49.21% 0.176 298.3)
XYZxyz(16.9108, 10.5613, 44.8547)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041B5 #86B541
analogous
#414CB5 #7041B5 #AA41B5
triadic
#7041B5 #B57041 #41B570
tetradic
#7041B5 #B5414C #86B541 #41B5AA
square
#7041B5 #B5414C #86B541 #41B5AA
split-complementary
#7041B5 #B5AA41 #4CB541
monochromatic
#38215B #543188 #7041B5 #916AC9 #B297DA

Accessibility & contrast

On white

6.75
#7041B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7041B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041B5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041B5#FFFFFF#000000##FFFFFF
##7041B51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#605B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7041b5;
/* rgb */ color: rgb(112, 65, 181);
/* oklch */ color: oklch(49.2% 0.176 298.3);
Tailwind
colors: {
  custom: {
    50: '#9e78cc',
    500: '#7041b5',
    950: '#000000',
  },
}
SCSS
$custom: #7041b5;
$custom-light: #9e78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7041b5",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 264.31,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49209,
    "c": 0.17555,
    "h": 298.3
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#7041B5
secondary
#AEC58C
accent
#D751A1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7041B5

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

Preview Lab → · Contrast checker → · Palette generator →

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