#7034B4#7034B4

#7034B4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.191 H 300.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7034B4
RGBrgb(112, 52, 180)
HSLhsl(268, 55%, 45%)
HSVhsv(268, 71%, 71%)
CMYKcmyk(37.8%, 71.1%, 0%, 29.4%)
CIE-LABlab(36.36, 51.23, -57.70)
CIE-LCHlch(36.36, 77.16, 311.60°)
OKLaboklab(47.41% 0.0974 -0.1645)
OKLCHoklch(47.41% 0.191 300.6)
XYZxyz(16.1463, 9.1959, 44.0955)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7034B4 #78B434
analogous
#3438B4 #7034B4 #B034B4
triadic
#7034B4 #B47034 #34B470
tetradic
#7034B4 #B43438 #78B434 #34B4B0
square
#7034B4 #B43438 #78B434 #34B4B0
split-complementary
#7034B4 #B4B034 #38B434
monochromatic
#351955 #522685 #7034B4 #8F57CE #AF86DC

Accessibility & contrast

On white

7.40
#7034B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7034B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7034B4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7034B4#FFFFFF#000000##FFFFFF
##7034B41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#615370
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7034b4;
/* rgb */ color: rgb(112, 52, 180);
/* oklch */ color: oklch(47.4% 0.191 300.6);
Tailwind
colors: {
  custom: {
    50: '#9f70cb',
    500: '#7034b4',
    950: '#000000',
  },
}
SCSS
$custom: #7034b4;
$custom-light: #9f70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7034b4",
  "rgb": {
    "r": 112,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 268.125,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47412,
    "c": 0.19121,
    "h": 300.6
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#7034B4
secondary
#A4C67E
accent
#DF4999
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7034B4

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

Preview Lab → · Contrast checker → · Palette generator →

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