#7041D5#7041D5

#7041D5 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.213 H 291.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7041D5
RGBrgb(112, 65, 213)
HSLhsl(259, 64%, 55%)
HSVhsv(259, 69%, 84%)
CMYKcmyk(47.4%, 69.5%, 0%, 16.5%)
CIE-LABlab(41.26, 53.42, -68.96)
CIE-LCHlch(41.26, 87.23, 307.76°)
OKLaboklab(51.72% 0.0789 -0.1977)
OKLCHoklch(51.72% 0.213 291.8)
XYZxyz(20.5793, 12.0287, 64.1754)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041D5 #A6D541
analogous
#415CD5 #7041D5 #BA41D5
triadic
#7041D5 #D57041 #41D570
tetradic
#7041D5 #D5415C #A6D541 #41D5BA
square
#7041D5 #D5415C #A6D541 #41D5BA
split-complementary
#7041D5 #D5BA41 #5CD541
monochromatic
#3C1C7F #5327B2 #7041D5 #9673E0 #BBA5EB

Accessibility & contrast

On white

6.17
#7041D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7041D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041D5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041D5#FFFFFF#000000##FFFFFF
##7041D51.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#506786
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7041d5;
/* rgb */ color: rgb(112, 65, 213);
/* oklch */ color: oklch(51.7% 0.213 291.8);
Tailwind
colors: {
  custom: {
    50: '#a279e3',
    500: '#7041d5',
    950: '#000000',
  },
}
SCSS
$custom: #7041d5;
$custom-light: #a279e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7041d5",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 259.054,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.21285,
    "h": 291.8
  },
  "luminance": 0.12029
}

Semantic roles & 50–950 ramp

primary
#7041D5
secondary
#C4D89A
accent
#E741B2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7041D5

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

Preview Lab → · Contrast checker → · Palette generator →

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