#7018A0#7018A0

#7018A0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.1% C 0.200 H 309.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7018A0
RGBrgb(112, 24, 160)
HSLhsl(279, 74%, 36%)
HSVhsv(279, 85%, 63%)
CMYKcmyk(30%, 85%, 0%, 37.3%)
CIE-LABlab(30.96, 57.49, -54.48)
CIE-LCHlch(30.96, 79.21, 316.54°)
OKLaboklab(43.12% 0.1261 -0.1549)
OKLCHoklch(43.12% 0.2 309.1)
XYZxyz(13.3526, 6.6363, 33.8284)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7018A0 #48A018
analogous
#2C18A0 #7018A0 #A0188C
triadic
#7018A0 #A07018 #18A070
tetradic
#7018A0 #A02C18 #48A018 #188CA0
square
#7018A0 #A02C18 #48A018 #188CA0
split-complementary
#7018A0 #8CA018 #18A02C
monochromatic
#250836 #4B106B #7018A0 #9520D5 #AF4EE4

Accessibility & contrast

On white

9.02
#7018A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7018A0
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7018A0#FFFFFF#000000##FFFFFF
##7018A01.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#693E5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7018a0;
/* rgb */ color: rgb(112, 24, 160);
/* oklch */ color: oklch(43.1% 0.200 309.1);
Tailwind
colors: {
  custom: {
    50: '#9e63bd',
    500: '#7018a0',
    950: '#000000',
  },
}
SCSS
$custom: #7018a0;
$custom-light: #9e63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7018a0",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 278.824,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.19971,
    "h": 309.1
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#7018A0
secondary
#78C64D
accent
#F13779
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7018A0

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

Preview Lab → · Contrast checker → · Palette generator →

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