#7041CC#7041CC

#7041CC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.203 H 293.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7041CC
RGBrgb(112, 65, 204)
HSLhsl(260, 58%, 53%)
HSVhsv(260, 68%, 80%)
CMYKcmyk(45.1%, 68.1%, 0%, 20%)
CIE-LABlab(40.55, 51.00, -64.93)
CIE-LCHlch(40.55, 82.56, 308.15°)
OKLaboklab(50.98% 0.0804 -0.1858)
OKLCHoklch(50.98% 0.203 293.4)
XYZxyz(19.4685, 11.5844, 58.3253)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041CC #9DCC41
analogous
#4157CC #7041CC #B641CC
triadic
#7041CC #CC7041 #41CC70
tetradic
#7041CC #CC4157 #9DCC41 #41CCB6
square
#7041CC #CC4157 #9DCC41 #41CCB6
split-complementary
#7041CC #CCB641 #57CC41
monochromatic
#3C1F74 #542CA4 #7041CC #9471D9 #B9A1E6

Accessibility & contrast

On white

6.33
#7041CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7041CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041CC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041CC#FFFFFF#000000##FFFFFF
##7041CC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#556381
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7041cc;
/* rgb */ color: rgb(112, 65, 204);
/* oklch */ color: oklch(51.0% 0.203 293.4);
Tailwind
colors: {
  custom: {
    50: '#a079dd',
    500: '#7041cc',
    950: '#000000',
  },
}
SCSS
$custom: #7041cc;
$custom-light: #a079dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7041cc",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 260.288,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.20252,
    "h": 293.4
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#7041CC
secondary
#BED396
accent
#E147AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7041CC

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

Preview Lab → · Contrast checker → · Palette generator →

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