#7041BC#7041BC

#7041BC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.184 H 296.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7041BC
RGBrgb(112, 65, 188)
HSLhsl(263, 49%, 50%)
HSVhsv(263, 65%, 74%)
CMYKcmyk(40.4%, 65.4%, 0%, 26.3%)
CIE-LABlab(39.34, 46.72, -57.58)
CIE-LCHlch(39.34, 74.15, 309.06°)
OKLaboklab(49.73% 0.0826 -0.1642)
OKLCHoklch(49.73% 0.184 296.7)
XYZxyz(17.6471, 10.8558, 48.7328)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041BC #8DBC41
analogous
#414FBC #7041BC #AE41BC
triadic
#7041BC #BC7041 #41BC70
tetradic
#7041BC #BC414F #8DBC41 #41BCAE
square
#7041BC #BC414F #8DBC41 #41BCAE
split-complementary
#7041BC #BCAE41 #4FBC41
monochromatic
#3A2261 #55318F #7041BC #926ECD #B49BDC

Accessibility & contrast

On white

6.62
#7041BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7041BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041BC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041BC#FFFFFF#000000##FFFFFF
##7041BC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#5D5E79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7041bc;
/* rgb */ color: rgb(112, 65, 188);
/* oklch */ color: oklch(49.7% 0.184 296.7);
Tailwind
colors: {
  custom: {
    50: '#9f78d1',
    500: '#7041bc',
    950: '#000000',
  },
}
SCSS
$custom: #7041bc;
$custom-light: #9f78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7041bc",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 262.927,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.18383,
    "h": 296.7
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#7041BC
secondary
#B3C990
accent
#D850A4
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7041BC

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

Preview Lab → · Contrast checker → · Palette generator →

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