#7121A4#7121A4

#7121A4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.196 H 307.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7121A4
RGBrgb(113, 33, 164)
HSLhsl(277, 66%, 39%)
HSVhsv(277, 80%, 64%)
CMYKcmyk(31.1%, 79.9%, 0%, 35.7%)
CIE-LABlab(32.43, 55.63, -54.51)
CIE-LCHlch(32.43, 77.88, 315.58°)
OKLaboklab(44.28% 0.1198 -0.155)
OKLCHoklch(44.28% 0.196 307.7)
XYZxyz(14.0533, 7.2790, 35.7794)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121A4 #54A421
analogous
#2F21A4 #7121A4 #A42195
triadic
#7121A4 #A47121 #21A471
tetradic
#7121A4 #A42F21 #54A421 #2195A4
square
#7121A4 #A42F21 #54A421 #2195A4
split-complementary
#7121A4 #95A421 #21A42F
monochromatic
#2B0C3E #4E1771 #7121A4 #942DD5 #AE60DF

Accessibility & contrast

On white

8.55
#7121A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7121A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7121A4
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121A4#FFFFFF#000000##FFFFFF
##7121A41.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#684363
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7121a4;
/* rgb */ color: rgb(113, 33, 164);
/* oklch */ color: oklch(44.3% 0.196 307.7);
Tailwind
colors: {
  custom: {
    50: '#9f66c0',
    500: '#7121a4',
    950: '#000000',
  },
}
SCSS
$custom: #7121a4;
$custom-light: #9f66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7121a4",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 276.641,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.19587,
    "h": 307.7
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#7121A4
secondary
#85C45D
accent
#E93E81
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7121A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7121A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva