#6039CA#6039CA

#6039CA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.209 H 288.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6039CA
RGBrgb(96, 57, 202)
HSLhsl(256, 58%, 51%)
HSVhsv(256, 72%, 79%)
CMYKcmyk(52.5%, 71.8%, 0%, 20.8%)
CIE-LABlab(37.26, 51.86, -69.22)
CIE-LCHlch(37.26, 86.49, 306.84°)
OKLaboklab(48.2% 0.0654 -0.1989)
OKLCHoklch(48.2% 0.209 288.2)
XYZxyz(16.9445, 9.6765, 56.8406)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039CA #A3CA39
analogous
#395ACA #6039CA #A839CA
triadic
#6039CA #CA6039 #39CA60
tetradic
#6039CA #CA395A #A3CA39 #39CAA8
square
#6039CA #CA395A #A3CA39 #39CAA8
split-complementary
#6039CA #CAA839 #5ACA39
monochromatic
#321D6C #482A9C #6039CA #8769D7 #AE9AE4

Accessibility & contrast

On white

7.15
#6039CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6039CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039CA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039CA#FFFFFF#000000##FFFFFF
##6039CA1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#37607E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6039ca;
/* rgb */ color: rgb(96, 57, 202);
/* oklch */ color: oklch(48.2% 0.209 288.2);
Tailwind
colors: {
  custom: {
    50: '#9773db',
    500: '#6039ca',
    950: '#000000',
  },
}
SCSS
$custom: #6039ca;
$custom-light: #9773db;
$custom-dark: #000000;
JSON
{
  "hex": "#6039ca",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 256.138,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.482,
    "c": 0.20941,
    "h": 288.2
  },
  "luminance": 0.09677
}

Semantic roles & 50–950 ramp

primary
#6039CA
secondary
#BED08F
accent
#E147B8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6039CA

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

Preview Lab → · Contrast checker → · Palette generator →

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