#6037CC#6037CC

#6037CC is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.214 H 288.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6037CC
RGBrgb(96, 55, 204)
HSLhsl(257, 59%, 51%)
HSVhsv(257, 73%, 80%)
CMYKcmyk(52.9%, 73%, 0%, 20%)
CIE-LABlab(37.07, 53.42, -70.68)
CIE-LCHlch(37.07, 88.59, 307.08°)
OKLaboklab(48.13% 0.0666 -0.2032)
OKLCHoklch(48.13% 0.214 288.2)
XYZxyz(17.0859, 9.5780, 58.0635)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037CC #A3CC37
analogous
#3758CC #6037CC #AA37CC
triadic
#6037CC #CC6037 #37CC60
tetradic
#6037CC #CC3758 #A3CC37 #37CCAA
square
#6037CC #CC3758 #A3CC37 #37CCAA
split-complementary
#6037CC #CCAA37 #58CC37
monochromatic
#321C6D #48289E #6037CC #8768D8 #AE99E5

Accessibility & contrast

On white

7.20
#6037CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6037CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6037CC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6037CC#FFFFFF#000000##FFFFFF
##6037CC1.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)
#005AD0
Deuteranopia (green-blind)
#0053C9
Tritanopia (blue-blind)
#355F7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6037cc;
/* rgb */ color: rgb(96, 55, 204);
/* oklch */ color: oklch(48.1% 0.214 288.2);
Tailwind
colors: {
  custom: {
    50: '#9872dd',
    500: '#6037cc',
    950: '#000000',
  },
}
SCSS
$custom: #6037cc;
$custom-light: #9872dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6037cc",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 256.51,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48125,
    "c": 0.21384,
    "h": 288.2
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#6037CC
secondary
#BED08E
accent
#E345B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6037CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6037CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva