#7041C3#7041C3

#7041C3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.192 H 295.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7041C3
RGBrgb(112, 65, 195)
HSLhsl(262, 52%, 51%)
HSVhsv(262, 67%, 76%)
CMYKcmyk(42.6%, 66.7%, 0%, 23.5%)
CIE-LABlab(39.86, 48.59, -60.83)
CIE-LCHlch(39.86, 77.85, 308.62°)
OKLaboklab(50.27% 0.0818 -0.1738)
OKLCHoklch(50.27% 0.192 295.2)
XYZxyz(18.4201, 11.1650, 52.8037)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041C3 #94C341
analogous
#4153C3 #7041C3 #B141C3
triadic
#7041C3 #C37041 #41C370
tetradic
#7041C3 #C34153 #94C341 #41C3B1
square
#7041C3 #C34153 #94C341 #41C3B1
split-complementary
#7041C3 #C3B141 #53C341
monochromatic
#3B2169 #553097 #7041C3 #9370D2 #B69EE0

Accessibility & contrast

On white

6.50
#7041C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7041C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041C3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041C3#FFFFFF#000000##FFFFFF
##7041C31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#5A607C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7041c3;
/* rgb */ color: rgb(112, 65, 195);
/* oklch */ color: oklch(50.3% 0.192 295.2);
Tailwind
colors: {
  custom: {
    50: '#9f79d6',
    500: '#7041c3',
    950: '#000000',
  },
}
SCSS
$custom: #7041c3;
$custom-light: #9f79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7041c3",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 261.692,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50271,
    "c": 0.19205,
    "h": 295.2
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#7041C3
secondary
#B8CD93
accent
#DB4CA8
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7041C3

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

Preview Lab → · Contrast checker → · Palette generator →

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