#6039B3#6039B3

#6039B3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.182 H 292.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6039B3
RGBrgb(96, 57, 179)
HSLhsl(259, 52%, 46%)
HSVhsv(259, 68%, 70%)
CMYKcmyk(46.4%, 68.2%, 0%, 29.8%)
CIE-LABlab(35.34, 45.41, -58.85)
CIE-LCHlch(35.34, 74.33, 307.65°)
OKLaboklab(46.24% 0.0697 -0.1685)
OKLCHoklch(46.24% 0.182 292.5)
XYZxyz(14.4214, 8.6673, 43.5522)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039B3 #8CB339
analogous
#394FB3 #6039B3 #9D39B3
triadic
#6039B3 #B36039 #39B360
tetradic
#6039B3 #B3394F #8CB339 #39B39D
square
#6039B3 #B3394F #8CB339 #39B39D
split-complementary
#6039B3 #B39D39 #4FB339
monochromatic
#2E1B56 #472A85 #6039B3 #815ECC #A58CDA

Accessibility & contrast

On white

7.68
#6039B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6039B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039B3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039B3#FFFFFF#000000##FFFFFF
##6039B31.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#475771
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6039b3;
/* rgb */ color: rgb(96, 57, 179);
/* oklch */ color: oklch(46.2% 0.182 292.5);
Tailwind
colors: {
  custom: {
    50: '#9472cb',
    500: '#6039b3',
    950: '#000000',
  },
}
SCSS
$custom: #6039b3;
$custom-light: #9472cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6039b3",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 259.18,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46238,
    "c": 0.18235,
    "h": 292.5
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#6039B3
secondary
#B0C583
accent
#DB4DAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6039B3

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

Preview Lab → · Contrast checker → · Palette generator →

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