#7030B4#7030B4

#7030B4 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.196 H 301.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7030B4
RGBrgb(112, 48, 180)
HSLhsl(269, 58%, 45%)
HSVhsv(269, 73%, 71%)
CMYKcmyk(37.8%, 73.3%, 0%, 29.4%)
CIE-LABlab(35.70, 53.08, -58.77)
CIE-LCHlch(35.70, 79.19, 312.09°)
OKLaboklab(46.95% 0.1013 -0.1676)
OKLCHoklch(46.95% 0.196 301.2)
XYZxyz(15.9753, 8.8538, 44.0385)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7030B4 #74B430
analogous
#3032B4 #7030B4 #B230B4
triadic
#7030B4 #B47030 #30B470
tetradic
#7030B4 #B43032 #74B430 #30B4B2
square
#7030B4 #B43032 #74B430 #30B4B2
split-complementary
#7030B4 #B4B230 #32B430
monochromatic
#341653 #522384 #7030B4 #8F51D1 #AE81DD

Accessibility & contrast

On white

7.58
#7030B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7030B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7030B4#FFFFFF#000000##FFFFFF
##7030B41.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#61516F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7030b4;
/* rgb */ color: rgb(112, 48, 180);
/* oklch */ color: oklch(46.9% 0.196 301.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ecb',
    500: '#7030b4',
    950: '#000000',
  },
}
SCSS
$custom: #7030b4;
$custom-light: #9f6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#7030b4",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 269.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46946,
    "c": 0.1959,
    "h": 301.2
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#7030B4
secondary
#A1C679
accent
#E14796
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7030B4

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

Preview Lab → · Contrast checker → · Palette generator →

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