#7041B2#7041B2

#7041B2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.172 H 299.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7041B2
RGBrgb(112, 65, 178)
HSLhsl(265, 47%, 48%)
HSVhsv(265, 63%, 70%)
CMYKcmyk(37.1%, 63.5%, 0%, 30.2%)
CIE-LABlab(38.62, 44.09, -52.85)
CIE-LCHlch(38.62, 68.82, 309.84°)
OKLaboklab(48.99% 0.0835 -0.1503)
OKLCHoklch(48.99% 0.172 299.1)
XYZxyz(16.6063, 10.4395, 43.2510)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041B2 #83B241
analogous
#414AB2 #7041B2 #A941B2
triadic
#7041B2 #B27041 #41B270
tetradic
#7041B2 #B2414A #83B241 #41B2A9
square
#7041B2 #B2414A #83B241 #41B2A9
split-complementary
#7041B2 #B2A941 #4AB241
monochromatic
#382058 #543185 #7041B2 #9068C8 #B195D8

Accessibility & contrast

On white

6.80
#7041B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7041B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041B2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041B2#FFFFFF#000000##FFFFFF
##7041B21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#615A73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7041b2;
/* rgb */ color: rgb(112, 65, 178);
/* oklch */ color: oklch(49.0% 0.172 299.1);
Tailwind
colors: {
  custom: {
    50: '#9e78ca',
    500: '#7041b2',
    950: '#000000',
  },
}
SCSS
$custom: #7041b2;
$custom-light: #9e78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7041b2",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 264.956,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48989,
    "c": 0.17197,
    "h": 299.1
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#7041B2
secondary
#ACC48B
accent
#D6529F
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7041B2

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

Preview Lab → · Contrast checker → · Palette generator →

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