#7027A2#7027A2

#7027A2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.187 H 307.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7027A2
RGBrgb(112, 39, 162)
HSLhsl(276, 61%, 39%)
HSVhsv(276, 76%, 64%)
CMYKcmyk(30.9%, 75.9%, 0%, 36.5%)
CIE-LABlab(32.93, 52.70, -52.50)
CIE-LCHlch(32.93, 74.39, 315.11°)
OKLaboklab(44.55% 0.1136 -0.1492)
OKLCHoklch(44.55% 0.187 307.3)
XYZxyz(13.9278, 7.5046, 34.8902)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027A2 #59A227
analogous
#3327A2 #7027A2 #A22797
triadic
#7027A2 #A27027 #27A270
tetradic
#7027A2 #A23327 #59A227 #2797A2
square
#7027A2 #A23327 #59A227 #2797A2
split-complementary
#7027A2 #97A227 #27A233
monochromatic
#2C0F3F #4E1B71 #7027A2 #9137CF #AC69DB

Accessibility & contrast

On white

8.40
#7027A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7027A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7027A2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7027A2#FFFFFF#000000##FFFFFF
##7027A21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#684563
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7027a2;
/* rgb */ color: rgb(112, 39, 162);
/* oklch */ color: oklch(44.5% 0.187 307.3);
Tailwind
colors: {
  custom: {
    50: '#9e69be',
    500: '#7027a2',
    950: '#000000',
  },
}
SCSS
$custom: #7027a2;
$custom-light: #9e69be;
$custom-dark: #000000;
JSON
{
  "hex": "#7027a2",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 275.61,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44548,
    "c": 0.18748,
    "h": 307.3
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#7027A2
secondary
#8AC164
accent
#E44385
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7027A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7027A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva