#7039DB#7039DB

#7039DB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.228 H 291.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7039DB
RGBrgb(112, 57, 219)
HSLhsl(260, 69%, 54%)
HSVhsv(260, 74%, 86%)
CMYKcmyk(48.9%, 74%, 0%, 14.1%)
CIE-LABlab(40.39, 58.89, -73.84)
CIE-LCHlch(40.39, 94.44, 308.57°)
OKLaboklab(51.25% 0.0845 -0.2119)
OKLCHoklch(51.25% 0.228 291.7)
XYZxyz(20.9278, 11.4847, 68.1182)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039DB #A4DB39
analogous
#3953DB #7039DB #C139DB
triadic
#7039DB #DB7039 #39DB70
tetradic
#7039DB #DB3953 #A4DB39 #39DBC1
square
#7039DB #DB3953 #A4DB39 #39DBC1
split-complementary
#7039DB #DBC139 #53DB39
monochromatic
#3C1882 #5421B6 #7039DB #956DE4 #BBA1EE

Accessibility & contrast

On white

6.37
#7039DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7039DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039DB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039DB#FFFFFF#000000##FFFFFF
##7039DB1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#4D6588
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7039db;
/* rgb */ color: rgb(112, 57, 219);
/* oklch */ color: oklch(51.2% 0.228 291.7);
Tailwind
colors: {
  custom: {
    50: '#a375e7',
    500: '#7039db',
    950: '#000000',
  },
}
SCSS
$custom: #7039db;
$custom-light: #a375e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7039db",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 219
  },
  "hsl": {
    "h": 260.37,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.22818,
    "h": 291.7
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#7039DB
secondary
#C3DA95
accent
#EC3CB0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7039DB

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

Preview Lab → · Contrast checker → · Palette generator →

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