#7018A1#7018A1

#7018A1 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.2% C 0.201 H 308.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7018A1
RGBrgb(112, 24, 161)
HSLhsl(279, 74%, 36%)
HSVhsv(279, 85%, 63%)
CMYKcmyk(30.4%, 85.1%, 0%, 36.9%)
CIE-LABlab(31.05, 57.70, -54.96)
CIE-LCHlch(31.05, 79.69, 316.40°)
OKLaboklab(43.21% 0.1258 -0.1563)
OKLCHoklch(43.21% 0.201 308.8)
XYZxyz(13.4404, 6.6715, 34.2910)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7018A1 #49A118
analogous
#2C18A1 #7018A1 #A1188E
triadic
#7018A1 #A17018 #18A170
tetradic
#7018A1 #A12C18 #49A118 #188EA1
square
#7018A1 #A12C18 #49A118 #188EA1
split-complementary
#7018A1 #8EA118 #18A12C
monochromatic
#260836 #4B106C #7018A1 #9520D6 #AF4FE5

Accessibility & contrast

On white

9.00
#7018A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7018A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7018A1
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7018A1#FFFFFF#000000##FFFFFF
##7018A11.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#683E5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7018a1;
/* rgb */ color: rgb(112, 24, 161);
/* oklch */ color: oklch(43.2% 0.201 308.8);
Tailwind
colors: {
  custom: {
    50: '#9f63be',
    500: '#7018a1',
    950: '#000000',
  },
}
SCSS
$custom: #7018a1;
$custom-light: #9f63be;
$custom-dark: #000000;
JSON
{
  "hex": "#7018a1",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 278.54,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.2006,
    "h": 308.8
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#7018A1
secondary
#79C74E
accent
#F13779
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7018A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7018A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva