#7041C0#7041C0

#7041C0 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.189 H 295.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7041C0
RGBrgb(112, 65, 192)
HSLhsl(262, 50%, 50%)
HSVhsv(262, 66%, 75%)
CMYKcmyk(41.7%, 66.1%, 0%, 24.7%)
CIE-LABlab(39.63, 47.79, -59.44)
CIE-LCHlch(39.63, 76.27, 308.80°)
OKLaboklab(50.04% 0.0821 -0.1697)
OKLCHoklch(50.04% 0.189 295.8)
XYZxyz(18.0843, 11.0307, 51.0353)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041C0 #91C041
analogous
#4151C0 #7041C0 #B041C0
triadic
#7041C0 #C07041 #41C070
tetradic
#7041C0 #C04151 #91C041 #41C0B0
square
#7041C0 #C04151 #91C041 #41C0B0
split-complementary
#7041C0 #C0B041 #51C041
monochromatic
#3B2265 #553193 #7041C0 #936FCF #B59DDE

Accessibility & contrast

On white

6.55
#7041C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7041C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041C0
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041C0#FFFFFF#000000##FFFFFF
##7041C01.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#5B5F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7041c0;
/* rgb */ color: rgb(112, 65, 192);
/* oklch */ color: oklch(50.0% 0.189 295.8);
Tailwind
colors: {
  custom: {
    50: '#9f79d4',
    500: '#7041c0',
    950: '#000000',
  },
}
SCSS
$custom: #7041c0;
$custom-light: #9f79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7041c0",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 262.205,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50039,
    "c": 0.18854,
    "h": 295.8
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#7041C0
secondary
#B6CB92
accent
#DA4EA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7041C0

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

Preview Lab → · Contrast checker → · Palette generator →

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