#7041B4#7041B4

#7041B4 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.174 H 298.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7041B4
RGBrgb(112, 65, 180)
HSLhsl(265, 47%, 48%)
HSVhsv(265, 64%, 71%)
CMYKcmyk(37.8%, 63.9%, 0%, 29.4%)
CIE-LABlab(38.76, 44.61, -53.80)
CIE-LCHlch(38.76, 69.89, 309.67°)
OKLaboklab(49.14% 0.0834 -0.1531)
OKLCHoklch(49.14% 0.174 298.6)
XYZxyz(16.8085, 10.5204, 44.3162)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041B4 #85B441
analogous
#414BB4 #7041B4 #A941B4
triadic
#7041B4 #B47041 #41B470
tetradic
#7041B4 #B4414B #85B441 #41B4A9
square
#7041B4 #B4414B #85B441 #41B4A9
split-complementary
#7041B4 #B4A941 #4BB441
monochromatic
#38215A #543187 #7041B4 #9069C9 #B296D9

Accessibility & contrast

On white

6.77
#7041B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7041B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041B4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041B4#FFFFFF#000000##FFFFFF
##7041B41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#035AB2
Tritanopia (blue-blind)
#605B74
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7041b4;
/* rgb */ color: rgb(112, 65, 180);
/* oklch */ color: oklch(49.1% 0.174 298.6);
Tailwind
colors: {
  custom: {
    50: '#9e78cb',
    500: '#7041b4',
    950: '#000000',
  },
}
SCSS
$custom: #7041b4;
$custom-light: #9e78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7041b4",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 264.522,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49135,
    "c": 0.17435,
    "h": 298.6
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7041B4

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

Preview Lab → · Contrast checker → · Palette generator →

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