#6039C6#6039C6

#6039C6 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.8% C 0.205 H 288.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6039C6
RGBrgb(96, 57, 198)
HSLhsl(257, 55%, 50%)
HSVhsv(257, 71%, 78%)
CMYKcmyk(51.5%, 71.2%, 0%, 22.4%)
CIE-LABlab(36.91, 50.73, -67.45)
CIE-LCHlch(36.91, 84.40, 306.95°)
OKLaboklab(47.85% 0.0663 -0.1938)
OKLCHoklch(47.85% 0.205 288.9)
XYZxyz(16.4771, 9.4895, 54.3786)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039C6 #9FC639
analogous
#3958C6 #6039C6 #A739C6
triadic
#6039C6 #C66039 #39C660
tetradic
#6039C6 #C63958 #9FC639 #39C6A7
square
#6039C6 #C63958 #9FC639 #39C6A7
split-complementary
#6039C6 #C6A739 #58C639
monochromatic
#321E67 #492B96 #6039C6 #8669D4 #AC98E1

Accessibility & contrast

On white

7.25
#6039C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6039C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039C6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039C6#FFFFFF#000000##FFFFFF
##6039C61.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#3A5E7C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6039c6;
/* rgb */ color: rgb(96, 57, 198);
/* oklch */ color: oklch(47.8% 0.205 288.9);
Tailwind
colors: {
  custom: {
    50: '#9773d8',
    500: '#6039c6',
    950: '#000000',
  },
}
SCSS
$custom: #6039c6;
$custom-light: #9773d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6039c6",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 256.596,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.47849,
    "c": 0.20478,
    "h": 288.9
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#6039C6
secondary
#BCCD8E
accent
#DF49B5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6039C6

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

Preview Lab → · Contrast checker → · Palette generator →

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