#7039B3#7039B3

#7039B3 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.184 H 300.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7039B3
RGBrgb(112, 57, 179)
HSLhsl(267, 52%, 46%)
HSVhsv(267, 68%, 70%)
CMYKcmyk(37.4%, 68.2%, 0%, 29.8%)
CIE-LABlab(37.16, 48.53, -55.80)
CIE-LCHlch(37.16, 73.95, 311.02°)
OKLaboklab(47.96% 0.0924 -0.159)
OKLCHoklch(47.96% 0.184 300.2)
XYZxyz(16.2799, 9.6255, 43.6393)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039B3 #7CB339
analogous
#393FB3 #7039B3 #AD39B3
triadic
#7039B3 #B37039 #39B370
tetradic
#7039B3 #B3393F #7CB339 #39B3AD
square
#7039B3 #B3393F #7CB339 #39B3AD
split-complementary
#7039B3 #B3AD39 #3FB339
monochromatic
#361B56 #532A85 #7039B3 #8F5ECC #AF8CDA

Accessibility & contrast

On white

7.18
#7039B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7039B3
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039B3#FFFFFF#000000##FFFFFF
##7039B31.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#615571
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7039b3;
/* rgb */ color: rgb(112, 57, 179);
/* oklch */ color: oklch(48.0% 0.184 300.2);
Tailwind
colors: {
  custom: {
    50: '#9e73cb',
    500: '#7039b3',
    950: '#000000',
  },
}
SCSS
$custom: #7039b3;
$custom-light: #9e73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7039b3",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 267.049,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47961,
    "c": 0.18388,
    "h": 300.2
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#7039B3
secondary
#A7C583
accent
#DB4D9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7039B3

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

Preview Lab → · Contrast checker → · Palette generator →

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