#7041D3#7041D3

#7041D3 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.211 H 292.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7041D3
RGBrgb(112, 65, 211)
HSLhsl(259, 62%, 54%)
HSVhsv(259, 69%, 83%)
CMYKcmyk(46.9%, 69.2%, 0%, 17.3%)
CIE-LABlab(41.10, 52.88, -68.07)
CIE-LCHlch(41.10, 86.20, 307.84°)
OKLaboklab(51.55% 0.0793 -0.1951)
OKLCHoklch(51.55% 0.211 292.1)
XYZxyz(20.3270, 11.9278, 62.8467)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041D3 #A4D341
analogous
#415BD3 #7041D3 #B941D3
triadic
#7041D3 #D37041 #41D370
tetradic
#7041D3 #D3415B #A4D341 #41D3B9
square
#7041D3 #D3415B #A4D341 #41D3B9
split-complementary
#7041D3 #D3B941 #5BD341
monochromatic
#3C1D7D #5428AE #7041D3 #9573DF #BBA4EA

Accessibility & contrast

On white

6.20
#7041D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7041D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041D3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041D3#FFFFFF#000000##FFFFFF
##7041D31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#516685
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7041d3;
/* rgb */ color: rgb(112, 65, 211);
/* oklch */ color: oklch(51.5% 0.211 292.1);
Tailwind
colors: {
  custom: {
    50: '#a179e2',
    500: '#7041d3',
    950: '#000000',
  },
}
SCSS
$custom: #7041d3;
$custom-light: #a179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7041d3",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 259.315,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5155,
    "c": 0.21057,
    "h": 292.1
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#7041D3
secondary
#C3D799
accent
#E542B1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7041D3

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

Preview Lab → · Contrast checker → · Palette generator →

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