#7041D1#7041D1

#7041D1 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.208 H 292.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7041D1
RGBrgb(112, 65, 209)
HSLhsl(260, 61%, 54%)
HSVhsv(260, 69%, 82%)
CMYKcmyk(46.4%, 68.9%, 0%, 18%)
CIE-LABlab(40.94, 52.34, -67.18)
CIE-LCHlch(40.94, 85.16, 307.92°)
OKLaboklab(51.39% 0.0796 -0.1924)
OKLCHoklch(51.39% 0.208 292.5)
XYZxyz(20.0778, 11.8281, 61.5344)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041D1 #A2D141
analogous
#415AD1 #7041D1 #B841D1
triadic
#7041D1 #D17041 #41D170
tetradic
#7041D1 #D1415A #A2D141 #41D1B8
square
#7041D1 #D1415A #A2D141 #41D1B8
split-complementary
#7041D1 #D1B841 #5AD141
monochromatic
#3C1E7A #5429AB #7041D1 #9572DD #BAA4E9

Accessibility & contrast

On white

6.24
#7041D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7041D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041D1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041D1#FFFFFF#000000##FFFFFF
##7041D11.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#526584
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7041d1;
/* rgb */ color: rgb(112, 65, 209);
/* oklch */ color: oklch(51.4% 0.208 292.5);
Tailwind
colors: {
  custom: {
    50: '#a179e0',
    500: '#7041d1',
    950: '#000000',
  },
}
SCSS
$custom: #7041d1;
$custom-light: #a179e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7041d1",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 259.583,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.20827,
    "h": 292.5
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#7041D1
secondary
#C2D698
accent
#E444B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7041D1

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

Preview Lab → · Contrast checker → · Palette generator →

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