#7041BE#7041BE

#7041BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.186 H 296.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7041BE
RGBrgb(112, 65, 190)
HSLhsl(263, 49%, 50%)
HSVhsv(263, 66%, 75%)
CMYKcmyk(41.1%, 65.8%, 0%, 25.5%)
CIE-LABlab(39.48, 47.25, -58.51)
CIE-LCHlch(39.48, 75.21, 308.92°)
OKLaboklab(49.89% 0.0824 -0.167)
OKLCHoklch(49.89% 0.186 296.3)
XYZxyz(17.8642, 10.9427, 49.8762)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041BE #8FBE41
analogous
#4150BE #7041BE #AF41BE
triadic
#7041BE #BE7041 #41BE70
tetradic
#7041BE #BE4150 #8FBE41 #41BEAF
square
#7041BE #BE4150 #8FBE41 #41BEAF
split-complementary
#7041BE #BEAF41 #50BE41
monochromatic
#3A2263 #553190 #7041BE #926FCE #B59CDD

Accessibility & contrast

On white

6.59
#7041BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7041BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041BE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041BE#FFFFFF#000000##FFFFFF
##7041BE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#5C5E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7041be;
/* rgb */ color: rgb(112, 65, 190);
/* oklch */ color: oklch(49.9% 0.186 296.3);
Tailwind
colors: {
  custom: {
    50: '#9f78d2',
    500: '#7041be',
    950: '#000000',
  },
}
SCSS
$custom: #7041be;
$custom-light: #9f78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7041be",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 262.56,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.18619,
    "h": 296.3
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7041BE

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

Preview Lab → · Contrast checker → · Palette generator →

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