#7041D4#7041D4

#7041D4 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.212 H 291.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7041D4
RGBrgb(112, 65, 212)
HSLhsl(259, 63%, 54%)
HSVhsv(259, 69%, 83%)
CMYKcmyk(47.2%, 69.3%, 0%, 16.9%)
CIE-LABlab(41.18, 53.15, -68.52)
CIE-LCHlch(41.18, 86.72, 307.80°)
OKLaboklab(51.63% 0.0791 -0.1964)
OKLCHoklch(51.63% 0.212 291.9)
XYZxyz(20.4527, 11.9781, 63.5090)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041D4 #A5D441
analogous
#415CD4 #7041D4 #BA41D4
triadic
#7041D4 #D47041 #41D470
tetradic
#7041D4 #D4415C #A5D441 #41D4BA
square
#7041D4 #D4415C #A5D441 #41D4BA
split-complementary
#7041D4 #D4BA41 #5CD441
monochromatic
#3C1D7E #5328B0 #7041D4 #9673DF #BBA5EB

Accessibility & contrast

On white

6.18
#7041D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7041D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041D4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041D4#FFFFFF#000000##FFFFFF
##7041D41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#516686
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7041d4;
/* rgb */ color: rgb(112, 65, 212);
/* oklch */ color: oklch(51.6% 0.212 291.9);
Tailwind
colors: {
  custom: {
    50: '#a179e2',
    500: '#7041d4',
    950: '#000000',
  },
}
SCSS
$custom: #7041d4;
$custom-light: #a179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7041d4",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 259.184,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.21171,
    "h": 291.9
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#7041D4
secondary
#C4D899
accent
#E642B2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7041D4

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

Preview Lab → · Contrast checker → · Palette generator →

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