#7041BD#7041BD

#7041BD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.185 H 296.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7041BD
RGBrgb(112, 65, 189)
HSLhsl(263, 49%, 50%)
HSVhsv(263, 66%, 74%)
CMYKcmyk(40.7%, 65.6%, 0%, 25.9%)
CIE-LABlab(39.41, 46.99, -58.04)
CIE-LCHlch(39.41, 74.68, 308.99°)
OKLaboklab(49.81% 0.0825 -0.1656)
OKLCHoklch(49.81% 0.185 296.5)
XYZxyz(17.7553, 10.8991, 49.3025)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041BD #8EBD41
analogous
#4150BD #7041BD #AE41BD
triadic
#7041BD #BD7041 #41BD70
tetradic
#7041BD #BD4150 #8EBD41 #41BDAE
square
#7041BD #BD4150 #8EBD41 #41BDAE
split-complementary
#7041BD #BDAE41 #50BD41
monochromatic
#3A2262 #55318F #7041BD #926ECD #B49CDD

Accessibility & contrast

On white

6.60
#7041BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7041BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041BD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041BD#FFFFFF#000000##FFFFFF
##7041BD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7041bd;
/* rgb */ color: rgb(112, 65, 189);
/* oklch */ color: oklch(49.8% 0.185 296.5);
Tailwind
colors: {
  custom: {
    50: '#9f78d2',
    500: '#7041bd',
    950: '#000000',
  },
}
SCSS
$custom: #7041bd;
$custom-light: #9f78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7041bd",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 262.742,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.18501,
    "h": 296.5
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#7041BD
secondary
#B4C991
accent
#D84FA4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7041BD

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

Preview Lab → · Contrast checker → · Palette generator →

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