#7041DC#7041DC

#7041DC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.221 H 290.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7041DC
RGBrgb(112, 65, 220)
HSLhsl(258, 69%, 56%)
HSVhsv(258, 70%, 86%)
CMYKcmyk(49.1%, 70.5%, 0%, 13.7%)
CIE-LABlab(41.83, 55.31, -72.04)
CIE-LCHlch(41.83, 90.83, 307.52°)
OKLaboklab(52.3% 0.0776 -0.2067)
OKLCHoklch(52.3% 0.221 290.6)
XYZxyz(21.4870, 12.3918, 68.9560)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041DC #ADDC41
analogous
#415FDC #7041DC #BE41DC
triadic
#7041DC #DC7041 #41DC70
tetradic
#7041DC #DC415F #ADDC41 #41DCBE
square
#7041DC #DC415F #ADDC41 #41DCBE
split-complementary
#7041DC #DCBE41 #5FDC41
monochromatic
#3B1989 #5223BD #7041DC #9775E6 #BEA8EF

Accessibility & contrast

On white

6.04
#7041DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7041DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041DC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041DC#FFFFFF#000000##FFFFFF
##7041DC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#4C698A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7041dc;
/* rgb */ color: rgb(112, 65, 220);
/* oklch */ color: oklch(52.3% 0.221 290.6);
Tailwind
colors: {
  custom: {
    50: '#a279e8',
    500: '#7041dc',
    950: '#000000',
  },
}
SCSS
$custom: #7041dc;
$custom-light: #a279e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7041dc",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 258.194,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.22082,
    "h": 290.6
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#7041DC
secondary
#C9DD9C
accent
#EC3CB6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7041DC

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

Preview Lab → · Contrast checker → · Palette generator →

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