#7041CB#7041CB

#7041CB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.9% C 0.201 H 293.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7041CB
RGBrgb(112, 65, 203)
HSLhsl(260, 57%, 53%)
HSVhsv(260, 68%, 80%)
CMYKcmyk(44.8%, 68%, 0%, 20.4%)
CIE-LABlab(40.47, 50.73, -64.48)
CIE-LCHlch(40.47, 82.04, 308.19°)
OKLaboklab(50.9% 0.0806 -0.1845)
OKLCHoklch(50.9% 0.201 293.6)
XYZxyz(19.3489, 11.5366, 57.6957)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041CB #9CCB41
analogous
#4157CB #7041CB #B541CB
triadic
#7041CB #CB7041 #41CB70
tetradic
#7041CB #CB4157 #9CCB41 #41CBB5
square
#7041CB #CB4157 #9CCB41 #41CBB5
split-complementary
#7041CB #CBB541 #57CB41
monochromatic
#3C1F72 #552CA2 #7041CB #9471D8 #B8A1E5

Accessibility & contrast

On white

6.35
#7041CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7041CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041CB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041CB#FFFFFF#000000##FFFFFF
##7041CB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#566381
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7041cb;
/* rgb */ color: rgb(112, 65, 203);
/* oklch */ color: oklch(50.9% 0.201 293.6);
Tailwind
colors: {
  custom: {
    50: '#a079dc',
    500: '#7041cb',
    950: '#000000',
  },
}
SCSS
$custom: #7041cb;
$custom-light: #a079dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7041cb",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 260.435,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.20136,
    "h": 293.6
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7041CB

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

Preview Lab → · Contrast checker → · Palette generator →

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