#7041E5#7041E5

#7041E5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.231 H 289.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7041E5
RGBrgb(112, 65, 229)
HSLhsl(257, 76%, 58%)
HSVhsv(257, 72%, 90%)
CMYKcmyk(51.1%, 71.6%, 0%, 10.2%)
CIE-LABlab(42.58, 57.75, -75.94)
CIE-LCHlch(42.58, 95.40, 307.25°)
OKLaboklab(53.06% 0.0758 -0.2182)
OKLCHoklch(53.06% 0.231 289.2)
XYZxyz(22.7111, 12.8815, 75.4032)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041E5 #B6E541
analogous
#4164E5 #7041E5 #C241E5
triadic
#7041E5 #E57041 #41E570
tetradic
#7041E5 #E54164 #B6E541 #41E5C2
square
#7041E5 #E54164 #B6E541 #41E5C2
split-complementary
#7041E5 #E5C241 #64E541
monochromatic
#3A1597 #4F1CCD #7041E5 #9977EC #C1ADF4

Accessibility & contrast

On white

5.87
#7041E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7041E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041E5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041E5#FFFFFF#000000##FFFFFF
##7041E51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#456D8F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7041e5;
/* rgb */ color: rgb(112, 65, 229);
/* oklch */ color: oklch(53.1% 0.231 289.2);
Tailwind
colors: {
  custom: {
    50: '#a47aee',
    500: '#7041e5',
    950: '#000000',
  },
}
SCSS
$custom: #7041e5;
$custom-light: #a47aee;
$custom-dark: #000000;
JSON
{
  "hex": "#7041e5",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 229
  },
  "hsl": {
    "h": 257.195,
    "s": 75.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.23094,
    "h": 289.2
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#7041E5
secondary
#CFE2A0
accent
#F335BC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #7041E5

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

Preview Lab → · Contrast checker → · Palette generator →

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