#7039B4#7039B4

#7039B4 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.185 H 299.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7039B4
RGBrgb(112, 57, 180)
HSLhsl(267, 52%, 46%)
HSVhsv(267, 68%, 71%)
CMYKcmyk(37.8%, 68.3%, 0%, 29.4%)
CIE-LABlab(37.24, 48.79, -56.27)
CIE-LCHlch(37.24, 74.48, 310.92°)
OKLaboklab(48.04% 0.0923 -0.1604)
OKLCHoklch(48.04% 0.185 299.9)
XYZxyz(16.3814, 9.6661, 44.1739)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039B4 #7DB439
analogous
#3940B4 #7039B4 #AE39B4
triadic
#7039B4 #B47039 #39B470
tetradic
#7039B4 #B43940 #7DB439 #39B4AE
square
#7039B4 #B43940 #7DB439 #39B4AE
split-complementary
#7039B4 #B4AE39 #40B439
monochromatic
#361C57 #532A86 #7039B4 #8F5ECC #B08DDB

Accessibility & contrast

On white

7.16
#7039B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7039B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7039B4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039B4#FFFFFF#000000##FFFFFF
##7039B41.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#615672
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7039b4;
/* rgb */ color: rgb(112, 57, 180);
/* oklch */ color: oklch(48.0% 0.185 299.9);
Tailwind
colors: {
  custom: {
    50: '#9e73cb',
    500: '#7039b4',
    950: '#000000',
  },
}
SCSS
$custom: #7039b4;
$custom-light: #9e73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7039b4",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 266.829,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48038,
    "c": 0.18501,
    "h": 299.9
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#7039B4
secondary
#A8C583
accent
#DB4C9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7039B4

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

Preview Lab → · Contrast checker → · Palette generator →

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