#6039B7#6039B7

#6039B7 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.187 H 291.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6039B7
RGBrgb(96, 57, 183)
HSLhsl(259, 53%, 47%)
HSVhsv(259, 69%, 72%)
CMYKcmyk(47.5%, 68.9%, 0%, 28.2%)
CIE-LABlab(35.66, 46.53, -60.69)
CIE-LCHlch(35.66, 76.47, 307.47°)
OKLaboklab(46.57% 0.0691 -0.1739)
OKLCHoklch(46.57% 0.187 291.7)
XYZxyz(14.8318, 8.8314, 45.7137)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039B7 #90B739
analogous
#3951B7 #6039B7 #9F39B7
triadic
#6039B7 #B76039 #39B760
tetradic
#6039B7 #B73951 #90B739 #39B79F
square
#6039B7 #B73951 #90B739 #39B79F
split-complementary
#6039B7 #B79F39 #51B739
monochromatic
#2F1C5A #482A88 #6039B7 #8260CD #A68EDC

Accessibility & contrast

On white

7.59
#6039B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6039B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039B7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039B7#FFFFFF#000000##FFFFFF
##6039B71.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6039b7;
/* rgb */ color: rgb(96, 57, 183);
/* oklch */ color: oklch(46.6% 0.187 291.7);
Tailwind
colors: {
  custom: {
    50: '#9572ce',
    500: '#6039b7',
    950: '#000000',
  },
}
SCSS
$custom: #6039b7;
$custom-light: #9572ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6039b7",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 258.571,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46569,
    "c": 0.18712,
    "h": 291.7
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6039B7

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

Preview Lab → · Contrast checker → · Palette generator →

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