#7030A2#7030A2

#7030A2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.177 H 306.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7030A2
RGBrgb(112, 48, 162)
HSLhsl(274, 54%, 41%)
HSVhsv(274, 70%, 64%)
CMYKcmyk(30.9%, 70.4%, 0%, 36.5%)
CIE-LABlab(34.33, 48.74, -50.23)
CIE-LCHlch(34.33, 69.99, 314.14°)
OKLaboklab(45.54% 0.1045 -0.1426)
OKLCHoklch(45.54% 0.177 306.2)
XYZxyz(14.2592, 8.1674, 35.0007)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7030A2 #62A230
analogous
#3730A2 #7030A2 #A2309B
triadic
#7030A2 #A27030 #30A270
tetradic
#7030A2 #A23730 #62A230 #309BA2
square
#7030A2 #A23730 #62A230 #309BA2
split-complementary
#7030A2 #9BA230 #30A237
monochromatic
#2F1444 #4F2273 #7030A2 #9047C8 #AC76D6

Accessibility & contrast

On white

7.97
#7030A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7030A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7030A2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7030A2#FFFFFF#000000##FFFFFF
##7030A21.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0951A0
Tritanopia (blue-blind)
#674A65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7030a2;
/* rgb */ color: rgb(112, 48, 162);
/* oklch */ color: oklch(45.5% 0.177 306.2);
Tailwind
colors: {
  custom: {
    50: '#9d6ebe',
    500: '#7030a2',
    950: '#000000',
  },
}
SCSS
$custom: #7030a2;
$custom-light: #9d6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7030a2",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 273.684,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45541,
    "c": 0.17675,
    "h": 306.2
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#7030A2
secondary
#92BE6F
accent
#DE4A8B
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7030A2

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

Preview Lab → · Contrast checker → · Palette generator →

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