#7241AB#7241AB

#7241AB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.164 H 301.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7241AB
RGBrgb(114, 65, 171)
HSLhsl(268, 45%, 46%)
HSVhsv(268, 62%, 67%)
CMYKcmyk(33.3%, 62%, 0%, 32.9%)
CIE-LABlab(38.37, 42.74, -49.08)
CIE-LCHlch(38.37, 65.08, 311.05°)
OKLaboklab(48.71% 0.0867 -0.1392)
OKLCHoklch(48.71% 0.164 301.9)
XYZxyz(16.1787, 10.2982, 39.6556)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241AB #7AAB41
analogous
#4145AB #7241AB #A741AB
triadic
#7241AB #AB7241 #41AB72
tetradic
#7241AB #AB4145 #7AAB41 #41ABA7
square
#7241AB #AB4145 #7AAB41 #41ABA7
split-complementary
#7241AB #ABA741 #45AB41
monochromatic
#371F52 #54307F #7241AB #9165C4 #B191D5

Accessibility & contrast

On white

6.86
#7241AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7241AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241AB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241AB#FFFFFF#000000##FFFFFF
##7241AB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#205AA9
Tritanopia (blue-blind)
#675770
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7241ab;
/* rgb */ color: rgb(114, 65, 171);
/* oklch */ color: oklch(48.7% 0.164 301.9);
Tailwind
colors: {
  custom: {
    50: '#9e78c5',
    500: '#7241ab',
    950: '#000000',
  },
}
SCSS
$custom: #7241ab;
$custom-light: #9e78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7241ab",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 267.736,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.16398,
    "h": 301.9
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

primary
#7241AB
secondary
#A6C187
accent
#D55399
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7241AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7241AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva