#7030AA#7030AA

#7030AA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.185 H 303.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7030AA
RGBrgb(112, 48, 170)
HSLhsl(271, 56%, 43%)
HSVhsv(271, 72%, 67%)
CMYKcmyk(34.1%, 71.8%, 0%, 33.3%)
CIE-LABlab(34.93, 50.66, -54.07)
CIE-LCHlch(34.93, 74.09, 313.13°)
OKLaboklab(46.15% 0.1032 -0.1538)
OKLCHoklch(46.15% 0.185 303.9)
XYZxyz(14.9931, 8.4610, 38.8657)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7030AA #6AAA30
analogous
#3330AA #7030AA #AA30A7
triadic
#7030AA #AA7030 #30AA70
tetradic
#7030AA #AA3330 #6AAA30 #30A7AA
square
#7030AA #AA3330 #6AAA30 #30A7AA
split-complementary
#7030AA #A7AA30 #30AA33
monochromatic
#31154B #51237A #7030AA #8F4BCC #AD7BDA

Accessibility & contrast

On white

7.80
#7030AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7030AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7030AA#FFFFFF#000000##FFFFFF
##7030AA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#654D6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7030aa;
/* rgb */ color: rgb(112, 48, 170);
/* oklch */ color: oklch(46.2% 0.185 303.9);
Tailwind
colors: {
  custom: {
    50: '#9e6ec4',
    500: '#7030aa',
    950: '#000000',
  },
}
SCSS
$custom: #7030aa;
$custom-light: #9e6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#7030aa",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 271.475,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.18528,
    "h": 303.9
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#7030AA
secondary
#99C274
accent
#DF4990
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7030AA

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

Preview Lab → · Contrast checker → · Palette generator →

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