#7030AF#7030AF

#7030AF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.191 H 302.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7030AF
RGBrgb(112, 48, 175)
HSLhsl(270, 57%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(36%, 72.6%, 0%, 31.4%)
CIE-LABlab(35.31, 51.87, -56.43)
CIE-LCHlch(35.31, 76.65, 312.58°)
OKLaboklab(46.55% 0.1023 -0.1608)
OKLCHoklch(46.55% 0.191 302.5)
XYZxyz(15.4751, 8.6538, 41.4042)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7030AF #6FAF30
analogous
#3030AF #7030AF #AF30AE
triadic
#7030AF #AF7030 #30AF70
tetradic
#7030AF #AF3030 #6FAF30 #30AEAF
square
#7030AF #AF3030 #6FAF30 #30AEAF
split-complementary
#7030AF #AEAF30 #30AF30
monochromatic
#33164F #51237F #7030AF #8F4ECE #AD7EDC

Accessibility & contrast

On white

7.69
#7030AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7030AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7030AF#FFFFFF#000000##FFFFFF
##7030AF1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#634F6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7030af;
/* rgb */ color: rgb(112, 48, 175);
/* oklch */ color: oklch(46.5% 0.191 302.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ec8',
    500: '#7030af',
    950: '#000000',
  },
}
SCSS
$custom: #7030af;
$custom-light: #9f6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7030af",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 270.236,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46546,
    "c": 0.1906,
    "h": 302.5
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#7030AF
secondary
#9DC476
accent
#E04893
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7030AF

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

Preview Lab → · Contrast checker → · Palette generator →

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