#6036C2#6036C2

#6036C2 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.203 H 290.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6036C2
RGBrgb(96, 54, 194)
HSLhsl(258, 56%, 49%)
HSVhsv(258, 72%, 76%)
CMYKcmyk(50.5%, 72.2%, 0%, 23.9%)
CIE-LABlab(36.02, 51.14, -66.57)
CIE-LCHlch(36.02, 83.95, 307.53°)
OKLaboklab(47.11% 0.0697 -0.1911)
OKLCHoklch(47.11% 0.203 290)
XYZxyz(15.8778, 9.0195, 51.9328)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6036C2 #98C236
analogous
#3652C2 #6036C2 #A636C2
triadic
#6036C2 #C26036 #36C260
tetradic
#6036C2 #C23652 #98C236 #36C2A6
square
#6036C2 #C23652 #98C236 #36C2A6
split-complementary
#6036C2 #C2A636 #52C236
monochromatic
#311B62 #482992 #6036C2 #8462D3 #A992E1

Accessibility & contrast

On white

7.49
#6036C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6036C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6036C2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6036C2#FFFFFF#000000##FFFFFF
##6036C21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#3E5B79
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6036c2;
/* rgb */ color: rgb(96, 54, 194);
/* oklch */ color: oklch(47.1% 0.203 290.0);
Tailwind
colors: {
  custom: {
    50: '#9671d6',
    500: '#6036c2',
    950: '#000000',
  },
}
SCSS
$custom: #6036c2;
$custom-light: #9671d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6036c2",
  "rgb": {
    "r": 96,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 258,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.20346,
    "h": 290
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#6036C2
secondary
#B7CC88
accent
#E048B2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6036C2

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

Preview Lab → · Contrast checker → · Palette generator →

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