#7041CA#7041CA

#7041CA is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.8% C 0.200 H 293.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7041CA
RGBrgb(112, 65, 202)
HSLhsl(261, 56%, 52%)
HSVhsv(261, 68%, 79%)
CMYKcmyk(44.6%, 67.8%, 0%, 20.8%)
CIE-LABlab(40.39, 50.46, -64.03)
CIE-LCHlch(40.39, 81.52, 308.24°)
OKLaboklab(50.82% 0.0808 -0.1832)
OKLCHoklch(50.82% 0.2 293.8)
XYZxyz(19.2302, 11.4891, 57.0701)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041CA #9BCA41
analogous
#4156CA #7041CA #B541CA
triadic
#7041CA #CA7041 #41CA70
tetradic
#7041CA #CA4156 #9BCA41 #41CAB5
square
#7041CA #CA4156 #9BCA41 #41CAB5
split-complementary
#7041CA #CAB541 #56CA41
monochromatic
#3C2071 #552DA1 #7041CA #9471D7 #B8A1E5

Accessibility & contrast

On white

6.37
#7041CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7041CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041CA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041CA#FFFFFF#000000##FFFFFF
##7041CA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#566380
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7041ca;
/* rgb */ color: rgb(112, 65, 202);
/* oklch */ color: oklch(50.8% 0.200 293.8);
Tailwind
colors: {
  custom: {
    50: '#a079db',
    500: '#7041ca',
    950: '#000000',
  },
}
SCSS
$custom: #7041ca;
$custom-light: #a079db;
$custom-dark: #000000;
JSON
{
  "hex": "#7041ca",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 260.584,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.2002,
    "h": 293.8
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#7041CA
secondary
#BDD196
accent
#E048AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7041CA

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

Preview Lab → · Contrast checker → · Palette generator →

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