#7124A5#7124A5

#7124A5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.194 H 307.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7124A5
RGBrgb(113, 36, 165)
HSLhsl(276, 64%, 39%)
HSVhsv(276, 78%, 65%)
CMYKcmyk(31.5%, 78.2%, 0%, 35.3%)
CIE-LABlab(32.90, 54.74, -54.36)
CIE-LCHlch(32.90, 77.15, 315.20°)
OKLaboklab(44.63% 0.117 -0.1546)
OKLCHoklch(44.63% 0.194 307.1)
XYZxyz(14.2310, 7.4893, 36.2859)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124A5 #58A524
analogous
#3124A5 #7124A5 #A52499
triadic
#7124A5 #A57124 #24A571
tetradic
#7124A5 #A53124 #58A524 #2499A5
square
#7124A5 #A53124 #58A524 #2499A5
split-complementary
#7124A5 #99A524 #24A531
monochromatic
#2C0E41 #4F1973 #7124A5 #9334D3 #AD66DE

Accessibility & contrast

On white

8.41
#7124A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7124A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7124A5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7124A5#FFFFFF#000000##FFFFFF
##7124A51.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#684564
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7124a5;
/* rgb */ color: rgb(113, 36, 165);
/* oklch */ color: oklch(44.6% 0.194 307.1);
Tailwind
colors: {
  custom: {
    50: '#9f68c1',
    500: '#7124a5',
    950: '#000000',
  },
}
SCSS
$custom: #7124a5;
$custom-light: #9f68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7124a5",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 275.814,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.19387,
    "h": 307.1
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#7124A5
secondary
#89C362
accent
#E74184
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7124A5

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

Preview Lab → · Contrast checker → · Palette generator →

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