#7027A3#7027A3

#7027A3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.188 H 307.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7027A3
RGBrgb(112, 39, 163)
HSLhsl(275, 61%, 40%)
HSVhsv(275, 76%, 64%)
CMYKcmyk(31.3%, 76.1%, 0%, 36.1%)
CIE-LABlab(33.01, 52.93, -52.98)
CIE-LCHlch(33.01, 74.89, 314.97°)
OKLaboklab(44.63% 0.1134 -0.1506)
OKLCHoklch(44.63% 0.188 307)
XYZxyz(14.0170, 7.5403, 35.3602)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027A3 #5AA327
analogous
#3227A3 #7027A3 #A32798
triadic
#7027A3 #A37027 #27A370
tetradic
#7027A3 #A33227 #5AA327 #2798A3
square
#7027A3 #A33227 #5AA327 #2798A3
split-complementary
#7027A3 #98A327 #27A332
monochromatic
#2C0F40 #4E1B72 #7027A3 #9138CF #AC69DB

Accessibility & contrast

On white

8.37
#7027A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7027A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7027A3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7027A3#FFFFFF#000000##FFFFFF
##7027A31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#674563
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7027a3;
/* rgb */ color: rgb(112, 39, 163);
/* oklch */ color: oklch(44.6% 0.188 307.0);
Tailwind
colors: {
  custom: {
    50: '#9e69bf',
    500: '#7027a3',
    950: '#000000',
  },
}
SCSS
$custom: #7027a3;
$custom-light: #9e69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7027a3",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 275.323,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44627,
    "c": 0.18848,
    "h": 307
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#7027A3
secondary
#8BC164
accent
#E44386
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7027A3

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

Preview Lab → · Contrast checker → · Palette generator →

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