#7041B9#7041B9

#7041B9 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.180 H 297.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7041B9
RGBrgb(112, 65, 185)
HSLhsl(264, 48%, 49%)
HSVhsv(264, 65%, 73%)
CMYKcmyk(39.5%, 64.9%, 0%, 27.5%)
CIE-LABlab(39.12, 45.93, -56.17)
CIE-LCHlch(39.12, 72.56, 309.27°)
OKLaboklab(49.51% 0.0829 -0.1601)
OKLCHoklch(49.51% 0.18 297.4)
XYZxyz(17.3271, 10.7278, 47.0473)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041B9 #8AB941
analogous
#414EB9 #7041B9 #AC41B9
triadic
#7041B9 #B97041 #41B970
tetradic
#7041B9 #B9414E #8AB941 #41B9AC
square
#7041B9 #B9414E #8AB941 #41B9AC
split-complementary
#7041B9 #B9AC41 #4EB941
monochromatic
#39215E #55318C #7041B9 #916CCB #B399DB

Accessibility & contrast

On white

6.68
#7041B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7041B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041B9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041B9#FFFFFF#000000##FFFFFF
##7041B91.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#5E5C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7041b9;
/* rgb */ color: rgb(112, 65, 185);
/* oklch */ color: oklch(49.5% 0.180 297.4);
Tailwind
colors: {
  custom: {
    50: '#9e78cf',
    500: '#7041b9',
    950: '#000000',
  },
}
SCSS
$custom: #7041b9;
$custom-light: #9e78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7041b9",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 263.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49507,
    "c": 0.18029,
    "h": 297.4
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#7041B9
secondary
#B1C78F
accent
#D850A3
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7041B9

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

Preview Lab → · Contrast checker → · Palette generator →

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