#7041CF#7041CF

#7041CF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.206 H 292.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7041CF
RGBrgb(112, 65, 207)
HSLhsl(260, 60%, 53%)
HSVhsv(260, 69%, 81%)
CMYKcmyk(45.9%, 68.6%, 0%, 18.8%)
CIE-LABlab(40.78, 51.80, -66.28)
CIE-LCHlch(40.78, 84.13, 308.01°)
OKLaboklab(51.23% 0.08 -0.1898)
OKLCHoklch(51.23% 0.206 292.8)
XYZxyz(19.8318, 11.7297, 60.2385)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041CF #A0CF41
analogous
#4159CF #7041CF #B741CF
triadic
#7041CF #CF7041 #41CF70
tetradic
#7041CF #CF4159 #A0CF41 #41CFB7
square
#7041CF #CF4159 #A0CF41 #41CFB7
split-complementary
#7041CF #CFB741 #59CF41
monochromatic
#3C1E77 #542BA8 #7041CF #9572DB #BAA3E8

Accessibility & contrast

On white

6.28
#7041CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7041CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041CF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041CF#FFFFFF#000000##FFFFFF
##7041CF1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#546483
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7041cf;
/* rgb */ color: rgb(112, 65, 207);
/* oklch */ color: oklch(51.2% 0.206 292.8);
Tailwind
colors: {
  custom: {
    50: '#a179df',
    500: '#7041cf',
    950: '#000000',
  },
}
SCSS
$custom: #7041cf;
$custom-light: #a179df;
$custom-dark: #000000;
JSON
{
  "hex": "#7041cf",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 259.859,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.20597,
    "h": 292.8
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#7041CF
secondary
#C0D497
accent
#E345AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7041CF

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

Preview Lab → · Contrast checker → · Palette generator →

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