#7041C1#7041C1

#7041C1 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.190 H 295.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7041C1
RGBrgb(112, 65, 193)
HSLhsl(262, 51%, 51%)
HSVhsv(262, 66%, 76%)
CMYKcmyk(42%, 66.3%, 0%, 24.3%)
CIE-LABlab(39.71, 48.05, -59.90)
CIE-LCHlch(39.71, 76.79, 308.74°)
OKLaboklab(50.12% 0.082 -0.1711)
OKLCHoklch(50.12% 0.19 295.6)
XYZxyz(18.1955, 11.0752, 51.6208)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041C1 #92C141
analogous
#4152C1 #7041C1 #B041C1
triadic
#7041C1 #C17041 #41C170
tetradic
#7041C1 #C14152 #92C141 #41C1B0
square
#7041C1 #C14152 #92C141 #41C1B0
split-complementary
#7041C1 #C1B041 #52C141
monochromatic
#3B2166 #553094 #7041C1 #936FD0 #B59DDF

Accessibility & contrast

On white

6.53
#7041C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7041C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041C1
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041C1#FFFFFF#000000##FFFFFF
##7041C11.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#5B5F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7041c1;
/* rgb */ color: rgb(112, 65, 193);
/* oklch */ color: oklch(50.1% 0.190 295.6);
Tailwind
colors: {
  custom: {
    50: '#9f79d5',
    500: '#7041c1',
    950: '#000000',
  },
}
SCSS
$custom: #7041c1;
$custom-light: #9f79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7041c1",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 262.031,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.18971,
    "h": 295.6
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#7041C1
secondary
#B6CB92
accent
#DA4EA7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7041C1

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

Preview Lab → · Contrast checker → · Palette generator →

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