#7124A9#7124A9

#7124A9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 45.0% C 0.198 H 305.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7124A9
RGBrgb(113, 36, 169)
HSLhsl(275, 65%, 40%)
HSVhsv(275, 79%, 66%)
CMYKcmyk(33.1%, 78.7%, 0%, 33.7%)
CIE-LABlab(33.22, 55.65, -56.24)
CIE-LCHlch(33.22, 79.12, 314.69°)
OKLaboklab(44.95% 0.116 -0.1601)
OKLCHoklch(44.95% 0.198 305.9)
XYZxyz(14.6008, 7.6372, 38.2334)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124A9 #5CA924
analogous
#2F24A9 #7124A9 #A9249E
triadic
#7124A9 #A97124 #24A971
tetradic
#7124A9 #A92F24 #5CA924 #249EA9
square
#7124A9 #A92F24 #5CA924 #249EA9
split-complementary
#7124A9 #9EA924 #24A92F
monochromatic
#2E0F44 #4F1977 #7124A9 #9236D4 #AD68DF

Accessibility & contrast

On white

8.31
#7124A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7124A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7124A9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7124A9#FFFFFF#000000##FFFFFF
##7124A91.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#674666
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7124a9;
/* rgb */ color: rgb(113, 36, 169);
/* oklch */ color: oklch(45.0% 0.198 305.9);
Tailwind
colors: {
  custom: {
    50: '#9f68c3',
    500: '#7124a9',
    950: '#000000',
  },
}
SCSS
$custom: #7124a9;
$custom-light: #9f68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7124a9",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 274.737,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.19775,
    "h": 305.9
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#7124A9
secondary
#8DC564
accent
#E84087
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7124A9

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

Preview Lab → · Contrast checker → · Palette generator →

#7124A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva