#6039B6#6039B6

#6039B6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.186 H 291.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6039B6
RGBrgb(96, 57, 182)
HSLhsl(259, 52%, 47%)
HSVhsv(259, 69%, 71%)
CMYKcmyk(47.3%, 68.7%, 0%, 28.6%)
CIE-LABlab(35.58, 46.25, -60.23)
CIE-LCHlch(35.58, 75.94, 307.52°)
OKLaboklab(46.49% 0.0692 -0.1726)
OKLCHoklch(46.49% 0.186 291.9)
XYZxyz(14.7281, 8.7899, 45.1675)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039B6 #8FB639
analogous
#3951B6 #6039B6 #9F39B6
triadic
#6039B6 #B66039 #39B660
tetradic
#6039B6 #B63951 #8FB639 #39B69F
square
#6039B6 #B63951 #8FB639 #39B69F
split-complementary
#6039B6 #B69F39 #51B639
monochromatic
#2F1C59 #472A87 #6039B6 #815FCD #A68EDC

Accessibility & contrast

On white

7.61
#6039B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6039B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039B6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039B6#FFFFFF#000000##FFFFFF
##6039B61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#455873
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6039b6;
/* rgb */ color: rgb(96, 57, 182);
/* oklch */ color: oklch(46.5% 0.186 291.9);
Tailwind
colors: {
  custom: {
    50: '#9572cd',
    500: '#6039b6',
    950: '#000000',
  },
}
SCSS
$custom: #6039b6;
$custom-light: #9572cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6039b6",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 258.72,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46485,
    "c": 0.18593,
    "h": 291.9
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#6039B6
secondary
#B2C685
accent
#DC4CAF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6039B6

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

Preview Lab → · Contrast checker → · Palette generator →

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