#6037C2#6037C2

#6037C2 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.2% C 0.202 H 289.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6037C2
RGBrgb(96, 55, 194)
HSLhsl(258, 56%, 49%)
HSVhsv(258, 72%, 76%)
CMYKcmyk(50.5%, 71.6%, 0%, 23.9%)
CIE-LABlab(36.20, 50.64, -66.28)
CIE-LCHlch(36.20, 83.41, 307.38°)
OKLaboklab(47.24% 0.0688 -0.1903)
OKLCHoklch(47.24% 0.202 289.9)
XYZxyz(15.9249, 9.1135, 51.9485)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037C2 #99C237
analogous
#3754C2 #6037C2 #A637C2
triadic
#6037C2 #C26037 #37C260
tetradic
#6037C2 #C23754 #99C237 #37C2A6
square
#6037C2 #C23754 #99C237 #37C2A6
split-complementary
#6037C2 #C2A637 #54C237
monochromatic
#311C63 #482992 #6037C2 #8463D3 #AA93E0

Accessibility & contrast

On white

7.44
#6037C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6037C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6037C2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6037C2#FFFFFF#000000##FFFFFF
##6037C21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#3E5C79
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6037c2;
/* rgb */ color: rgb(96, 55, 194);
/* oklch */ color: oklch(47.2% 0.202 289.9);
Tailwind
colors: {
  custom: {
    50: '#9671d6',
    500: '#6037c2',
    950: '#000000',
  },
}
SCSS
$custom: #6037c2;
$custom-light: #9671d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6037c2",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 257.698,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47241,
    "c": 0.20236,
    "h": 289.9
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#6037C2
secondary
#B8CB89
accent
#DF49B3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6037C2

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

Preview Lab → · Contrast checker → · Palette generator →

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