#6039C8#6039C8

#6039C8 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.0% C 0.207 H 288.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6039C8
RGBrgb(96, 57, 200)
HSLhsl(256, 57%, 50%)
HSVhsv(256, 72%, 78%)
CMYKcmyk(52%, 71.5%, 0%, 21.6%)
CIE-LABlab(37.08, 51.30, -68.34)
CIE-LCHlch(37.08, 85.45, 306.89°)
OKLaboklab(48.02% 0.0659 -0.1963)
OKLCHoklch(48.02% 0.207 288.5)
XYZxyz(16.7093, 9.5824, 55.6015)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039C8 #A1C839
analogous
#3959C8 #6039C8 #A839C8
triadic
#6039C8 #C86039 #39C860
tetradic
#6039C8 #C83959 #A1C839 #39C8A8
square
#6039C8 #C83959 #A1C839 #39C8A8
split-complementary
#6039C8 #C8A839 #59C839
monochromatic
#321D69 #492B99 #6039C8 #8669D5 #AD99E3

Accessibility & contrast

On white

7.20
#6039C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6039C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039C8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039C8#FFFFFF#000000##FFFFFF
##6039C81.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#395F7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6039c8;
/* rgb */ color: rgb(96, 57, 200);
/* oklch */ color: oklch(48.0% 0.207 288.5);
Tailwind
colors: {
  custom: {
    50: '#9773da',
    500: '#6039c8',
    950: '#000000',
  },
}
SCSS
$custom: #6039c8;
$custom-light: #9773da;
$custom-dark: #000000;
JSON
{
  "hex": "#6039c8",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 256.364,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48024,
    "c": 0.2071,
    "h": 288.5
  },
  "luminance": 0.09583
}

Semantic roles & 50–950 ramp

primary
#6039C8
secondary
#BDCE8F
accent
#E048B6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6039C8

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

Preview Lab → · Contrast checker → · Palette generator →

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