#7024A8#7024A8

#7024A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.197 H 305.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7024A8
RGBrgb(112, 36, 168)
HSLhsl(275, 65%, 40%)
HSVhsv(275, 79%, 66%)
CMYKcmyk(33.3%, 78.6%, 0%, 34.1%)
CIE-LABlab(32.99, 55.25, -56.01)
CIE-LCHlch(32.99, 78.68, 314.61°)
OKLaboklab(44.74% 0.1149 -0.1595)
OKLCHoklch(44.74% 0.197 305.8)
XYZxyz(14.3793, 7.5338, 37.7348)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7024A8 #5CA824
analogous
#2E24A8 #7024A8 #A8249E
triadic
#7024A8 #A87024 #24A870
tetradic
#7024A8 #A82E24 #5CA824 #249EA8
square
#7024A8 #A82E24 #5CA824 #249EA8
split-complementary
#7024A8 #9EA824 #24A82E
monochromatic
#2D0E43 #4E1976 #7024A8 #9135D4 #AC68DF

Accessibility & contrast

On white

8.38
#7024A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7024A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7024A8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7024A8#FFFFFF#000000##FFFFFF
##7024A81.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#664666
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7024a8;
/* rgb */ color: rgb(112, 36, 168);
/* oklch */ color: oklch(44.7% 0.197 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f68c3',
    500: '#7024a8',
    950: '#000000',
  },
}
SCSS
$custom: #7024a8;
$custom-light: #9f68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7024a8",
  "rgb": {
    "r": 112,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 274.545,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.19654,
    "h": 305.8
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#7024A8
secondary
#8DC463
accent
#E84087
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7024A8

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

Preview Lab → · Contrast checker → · Palette generator →

#7024A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva