#7041AF#7041AF

#7041AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.168 H 299.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7041AF
RGBrgb(112, 65, 175)
HSLhsl(266, 46%, 47%)
HSVhsv(266, 63%, 69%)
CMYKcmyk(36%, 62.9%, 0%, 31.4%)
CIE-LABlab(38.41, 43.31, -51.41)
CIE-LCHlch(38.41, 67.22, 310.11°)
OKLaboklab(48.77% 0.0837 -0.1461)
OKLCHoklch(48.77% 0.168 299.8)
XYZxyz(16.3084, 10.3203, 41.6820)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041AF #80AF41
analogous
#4149AF #7041AF #A741AF
triadic
#7041AF #AF7041 #41AF70
tetradic
#7041AF #AF4149 #80AF41 #41AFA7
square
#7041AF #AF4149 #80AF41 #41AFA7
split-complementary
#7041AF #AFA741 #49AF41
monochromatic
#372056 #533082 #7041AF #9067C6 #B093D7

Accessibility & contrast

On white

6.85
#7041AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7041AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041AF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041AF#FFFFFF#000000##FFFFFF
##7041AF1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#155AAD
Tritanopia (blue-blind)
#625972
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7041af;
/* rgb */ color: rgb(112, 65, 175);
/* oklch */ color: oklch(48.8% 0.168 299.8);
Tailwind
colors: {
  custom: {
    50: '#9d78c8',
    500: '#7041af',
    950: '#000000',
  },
}
SCSS
$custom: #7041af;
$custom-light: #9d78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7041af",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 265.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48771,
    "c": 0.16839,
    "h": 299.8
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#7041AF
secondary
#AAC289
accent
#D5529D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7041AF

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

Preview Lab → · Contrast checker → · Palette generator →

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