#6039C2#6039C2

#6039C2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.5% C 0.200 H 289.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6039C2
RGBrgb(96, 57, 194)
HSLhsl(257, 55%, 49%)
HSVhsv(257, 71%, 76%)
CMYKcmyk(50.5%, 70.6%, 0%, 23.9%)
CIE-LABlab(36.57, 49.61, -65.67)
CIE-LCHlch(36.57, 82.31, 307.07°)
OKLaboklab(47.5% 0.0671 -0.1885)
OKLCHoklch(47.5% 0.2 289.6)
XYZxyz(16.0218, 9.3074, 51.9808)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039C2 #9BC239
analogous
#3957C2 #6039C2 #A539C2
triadic
#6039C2 #C26039 #39C260
tetradic
#6039C2 #C23957 #9BC239 #39C2A5
square
#6039C2 #C23957 #9BC239 #39C2A5
split-complementary
#6039C2 #C2A539 #57C239
monochromatic
#311D63 #492B93 #6039C2 #8566D2 #AB95E0

Accessibility & contrast

On white

7.34
#6039C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6039C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039C2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039C2#FFFFFF#000000##FFFFFF
##6039C21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#3D5D79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6039c2;
/* rgb */ color: rgb(96, 57, 194);
/* oklch */ color: oklch(47.5% 0.200 289.6);
Tailwind
colors: {
  custom: {
    50: '#9673d5',
    500: '#6039c2',
    950: '#000000',
  },
}
SCSS
$custom: #6039c2;
$custom-light: #9673d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6039c2",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 257.08,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47502,
    "c": 0.20011,
    "h": 289.6
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#6039C2
secondary
#B9CB8B
accent
#DE4AB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6039C2

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

Preview Lab → · Contrast checker → · Palette generator →

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