#7041C2#7041C2

#7041C2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.191 H 295.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7041C2
RGBrgb(112, 65, 194)
HSLhsl(262, 51%, 51%)
HSVhsv(262, 66%, 76%)
CMYKcmyk(42.3%, 66.5%, 0%, 23.9%)
CIE-LABlab(39.78, 48.32, -60.37)
CIE-LCHlch(39.78, 77.32, 308.67°)
OKLaboklab(50.19% 0.0819 -0.1724)
OKLCHoklch(50.19% 0.191 295.4)
XYZxyz(18.3074, 11.1200, 52.2103)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041C2 #93C241
analogous
#4153C2 #7041C2 #B041C2
triadic
#7041C2 #C27041 #41C270
tetradic
#7041C2 #C24153 #93C241 #41C2B0
square
#7041C2 #C24153 #93C241 #41C2B0
split-complementary
#7041C2 #C2B041 #53C241
monochromatic
#3B2167 #553096 #7041C2 #936FD1 #B69EE0

Accessibility & contrast

On white

6.51
#7041C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7041C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041C2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041C2#FFFFFF#000000##FFFFFF
##7041C21.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7041c2;
/* rgb */ color: rgb(112, 65, 194);
/* oklch */ color: oklch(50.2% 0.191 295.4);
Tailwind
colors: {
  custom: {
    50: '#9f79d5',
    500: '#7041c2',
    950: '#000000',
  },
}
SCSS
$custom: #7041c2;
$custom-light: #9f79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7041c2",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 261.86,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50194,
    "c": 0.19088,
    "h": 295.4
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#7041C2
secondary
#B7CC93
accent
#DB4DA7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7041C2

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

Preview Lab → · Contrast checker → · Palette generator →

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