#7041BF#7041BF

#7041BF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.187 H 296.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7041BF
RGBrgb(112, 65, 191)
HSLhsl(262, 50%, 50%)
HSVhsv(262, 66%, 75%)
CMYKcmyk(41.4%, 66%, 0%, 25.1%)
CIE-LABlab(39.56, 47.52, -58.98)
CIE-LCHlch(39.56, 75.74, 308.86°)
OKLaboklab(49.96% 0.0823 -0.1683)
OKLCHoklch(49.96% 0.187 296)
XYZxyz(17.9739, 10.9866, 50.4537)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041BF #90BF41
analogous
#4151BF #7041BF #AF41BF
triadic
#7041BF #BF7041 #41BF70
tetradic
#7041BF #BF4151 #90BF41 #41BFAF
square
#7041BF #BF4151 #90BF41 #41BFAF
split-complementary
#7041BF #BFAF41 #51BF41
monochromatic
#3A2264 #553192 #7041BF #926FCE #B59DDE

Accessibility & contrast

On white

6.57
#7041BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7041BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041BF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041BF#FFFFFF#000000##FFFFFF
##7041BF1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#5C5F7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7041bf;
/* rgb */ color: rgb(112, 65, 191);
/* oklch */ color: oklch(50.0% 0.187 296.0);
Tailwind
colors: {
  custom: {
    50: '#9f78d3',
    500: '#7041bf',
    950: '#000000',
  },
}
SCSS
$custom: #7041bf;
$custom-light: #9f78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7041bf",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 262.381,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.18736,
    "h": 296
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#7041BF
secondary
#B5CA92
accent
#D94FA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7041BF

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

Preview Lab → · Contrast checker → · Palette generator →

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