#6039BF#6039BF

#6039BF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.197 H 290.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6039BF
RGBrgb(96, 57, 191)
HSLhsl(257, 54%, 49%)
HSVhsv(257, 70%, 75%)
CMYKcmyk(49.7%, 70.2%, 0%, 25.1%)
CIE-LABlab(36.32, 48.77, -64.33)
CIE-LCHlch(36.32, 80.72, 307.17°)
OKLaboklab(47.24% 0.0676 -0.1846)
OKLCHoklch(47.24% 0.197 290.1)
XYZxyz(15.6883, 9.1740, 50.2242)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039BF #98BF39
analogous
#3955BF #6039BF #A339BF
triadic
#6039BF #BF6039 #39BF60
tetradic
#6039BF #BF3955 #98BF39 #39BFA3
square
#6039BF #BF3955 #98BF39 #39BFA3
split-complementary
#6039BF #BFA339 #55BF39
monochromatic
#311D61 #482B90 #6039BF #8464D1 #A993DF

Accessibility & contrast

On white

7.41
#6039BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6039BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039BF
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039BF#FFFFFF#000000##FFFFFF
##6039BF1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#405B78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6039bf;
/* rgb */ color: rgb(96, 57, 191);
/* oklch */ color: oklch(47.2% 0.197 290.1);
Tailwind
colors: {
  custom: {
    50: '#9673d3',
    500: '#6039bf',
    950: '#000000',
  },
}
SCSS
$custom: #6039bf;
$custom-light: #9673d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6039bf",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 257.463,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47244,
    "c": 0.19659,
    "h": 290.1
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#6039BF
secondary
#B7CA8A
accent
#DD4AB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6039BF

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

Preview Lab → · Contrast checker → · Palette generator →

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