#7018AB#7018AB

#7018AB is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.1% C 0.210 H 305.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7018AB
RGBrgb(112, 24, 171)
HSLhsl(276, 75%, 38%)
HSVhsv(276, 86%, 67%)
CMYKcmyk(34.5%, 86%, 0%, 32.9%)
CIE-LABlab(31.89, 59.85, -59.61)
CIE-LCHlch(31.89, 84.47, 315.12°)
OKLaboklab(44.06% 0.1227 -0.1699)
OKLCHoklch(44.06% 0.21 305.8)
XYZxyz(14.3578, 7.0384, 39.1223)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7018AB #53AB18
analogous
#2618AB #7018AB #AB189C
triadic
#7018AB #AB7018 #18AB70
tetradic
#7018AB #AB2618 #53AB18 #189CAB
square
#7018AB #AB2618 #53AB18 #189CAB
split-complementary
#7018AB #9CAB18 #18AB26
monochromatic
#2A0940 #4D1075 #7018AB #9320E0 #AD56E7

Accessibility & contrast

On white

8.72
#7018AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7018AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7018AB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7018AB#FFFFFF#000000##FFFFFF
##7018AB1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#654365
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7018ab;
/* rgb */ color: rgb(112, 24, 171);
/* oklch */ color: oklch(44.1% 0.210 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f63c5',
    500: '#7018ab',
    950: '#000000',
  },
}
SCSS
$custom: #7018ab;
$custom-light: #9f63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7018ab",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 171
  },
  "hsl": {
    "h": 275.918,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44055,
    "c": 0.20959,
    "h": 305.8
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#7018AB
secondary
#84CA55
accent
#F23681
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #7018AB

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

Preview Lab → · Contrast checker → · Palette generator →

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