#7039AF#7039AF

#7039AF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.179 H 301.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7039AF
RGBrgb(112, 57, 175)
HSLhsl(268, 51%, 45%)
HSVhsv(268, 67%, 69%)
CMYKcmyk(36%, 67.4%, 0%, 31.4%)
CIE-LABlab(36.87, 47.52, -53.91)
CIE-LCHlch(36.87, 71.86, 311.40°)
OKLaboklab(47.66% 0.0929 -0.1534)
OKLCHoklch(47.66% 0.179 301.2)
XYZxyz(15.8812, 9.4661, 41.5396)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039AF #78AF39
analogous
#393DAF #7039AF #AB39AF
triadic
#7039AF #AF7039 #39AF70
tetradic
#7039AF #AF393D #78AF39 #39AFAB
square
#7039AF #AF393D #78AF39 #39AFAB
split-complementary
#7039AF #AFAB39 #3DAF39
monochromatic
#351B53 #522A81 #7039AF #8F5BCA #AF8AD9

Accessibility & contrast

On white

7.26
#7039AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7039AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7039AF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039AF#FFFFFF#000000##FFFFFF
##7039AF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#63546F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7039af;
/* rgb */ color: rgb(112, 57, 175);
/* oklch */ color: oklch(47.7% 0.179 301.2);
Tailwind
colors: {
  custom: {
    50: '#9e73c8',
    500: '#7039af',
    950: '#000000',
  },
}
SCSS
$custom: #7039af;
$custom-light: #9e73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7039af",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 267.966,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.17935,
    "h": 301.2
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#7039AF
secondary
#A4C381
accent
#DA4D99
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7039AF

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

Preview Lab → · Contrast checker → · Palette generator →

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