#7027A5#7027A5

#7027A5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.190 H 306.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7027A5
RGBrgb(112, 39, 165)
HSLhsl(275, 62%, 40%)
HSVhsv(275, 76%, 65%)
CMYKcmyk(32.1%, 76.4%, 0%, 35.3%)
CIE-LABlab(33.16, 53.39, -53.93)
CIE-LCHlch(33.16, 75.89, 314.71°)
OKLaboklab(44.79% 0.1129 -0.1534)
OKLCHoklch(44.79% 0.19 306.4)
XYZxyz(14.1977, 7.6125, 36.3114)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027A5 #5CA527
analogous
#3127A5 #7027A5 #A5279B
triadic
#7027A5 #A57027 #27A570
tetradic
#7027A5 #A53127 #5CA527 #279BA5
square
#7027A5 #A53127 #5CA527 #279BA5
split-complementary
#7027A5 #9BA527 #27A531
monochromatic
#2D1042 #4E1B74 #7027A5 #9139D0 #AC6ADC

Accessibility & contrast

On white

8.33
#7027A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7027A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7027A5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7027A5#FFFFFF#000000##FFFFFF
##7027A51.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#674665
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7027a5;
/* rgb */ color: rgb(112, 39, 165);
/* oklch */ color: oklch(44.8% 0.190 306.4);
Tailwind
colors: {
  custom: {
    50: '#9e69c1',
    500: '#7027a5',
    950: '#000000',
  },
}
SCSS
$custom: #7027a5;
$custom-light: #9e69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7027a5",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 274.762,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44786,
    "c": 0.19048,
    "h": 306.4
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

primary
#7027A5
secondary
#8DC266
accent
#E54387
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7027A5

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

Preview Lab → · Contrast checker → · Palette generator →

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