#7030B1#7030B1

#7030B1 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.193 H 301.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7030B1
RGBrgb(112, 48, 177)
HSLhsl(270, 57%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(36.7%, 72.9%, 0%, 30.6%)
CIE-LABlab(35.46, 52.35, -57.37)
CIE-LCHlch(35.46, 77.67, 312.38°)
OKLaboklab(46.71% 0.102 -0.1635)
OKLCHoklch(46.71% 0.193 301.9)
XYZxyz(15.6730, 8.7329, 42.4464)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7030B1 #71B130
analogous
#3031B1 #7030B1 #B130B1
triadic
#7030B1 #B17030 #30B170
tetradic
#7030B1 #B13031 #71B130 #30B1B1
square
#7030B1 #B13031 #71B130 #30B1B1
split-complementary
#7030B1 #B1B130 #31B130
monochromatic
#331651 #522381 #7030B1 #8F4FCF #AD7FDC

Accessibility & contrast

On white

7.65
#7030B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7030B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7030B1#FFFFFF#000000##FFFFFF
##7030B11.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#62506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7030b1;
/* rgb */ color: rgb(112, 48, 177);
/* oklch */ color: oklch(46.7% 0.193 301.9);
Tailwind
colors: {
  custom: {
    50: '#9f6ec9',
    500: '#7030b1',
    950: '#000000',
  },
}
SCSS
$custom: #7030b1;
$custom-light: #9f6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#7030b1",
  "rgb": {
    "r": 112,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 269.767,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46705,
    "c": 0.19272,
    "h": 301.9
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#7030B1
secondary
#9FC578
accent
#E14794
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7030B1

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

Preview Lab → · Contrast checker → · Palette generator →

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