#7041B3#7041B3

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

Color values

HEX#7041B3
RGBrgb(112, 65, 179)
HSLhsl(265, 47%, 48%)
HSVhsv(265, 64%, 70%)
CMYKcmyk(37.4%, 63.7%, 0%, 29.8%)
CIE-LABlab(38.69, 44.35, -53.33)
CIE-LCHlch(38.69, 69.36, 309.75°)
OKLaboklab(49.06% 0.0835 -0.1517)
OKLCHoklch(49.06% 0.173 298.8)
XYZxyz(16.7070, 10.4798, 43.7817)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041B3 #84B341
analogous
#414BB3 #7041B3 #A941B3
triadic
#7041B3 #B37041 #41B370
tetradic
#7041B3 #B3414B #84B341 #41B3A9
square
#7041B3 #B3414B #84B341 #41B3A9
split-complementary
#7041B3 #B3A941 #4BB341
monochromatic
#382059 #543186 #7041B3 #9069C8 #B196D9

Accessibility & contrast

On white

6.78
#7041B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7041B3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041B3#FFFFFF#000000##FFFFFF
##7041B31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#075AB1
Tritanopia (blue-blind)
#615A74
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7041b3;
/* rgb */ color: rgb(112, 65, 179);
/* oklch */ color: oklch(49.1% 0.173 298.8);
Tailwind
colors: {
  custom: {
    50: '#9e78ca',
    500: '#7041b3',
    950: '#000000',
  },
}
SCSS
$custom: #7041b3;
$custom-light: #9e78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7041b3",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 264.737,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.17316,
    "h": 298.8
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#7041B3
secondary
#ADC48B
accent
#D651A0
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7041B3

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

Preview Lab → · Contrast checker → · Palette generator →

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