#6636C2#6636C2

#6636C2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.7% C 0.203 H 292.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6636C2
RGBrgb(102, 54, 194)
HSLhsl(261, 56%, 49%)
HSVhsv(261, 72%, 76%)
CMYKcmyk(47.4%, 72.2%, 0%, 23.9%)
CIE-LABlab(36.66, 52.11, -65.49)
CIE-LCHlch(36.66, 83.70, 308.51°)
OKLaboklab(47.72% 0.0784 -0.1878)
OKLCHoklch(47.72% 0.203 292.7)
XYZxyz(16.5336, 9.3576, 51.9635)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6636C2 #92C236
analogous
#364CC2 #6636C2 #AC36C2
triadic
#6636C2 #C26636 #36C266
tetradic
#6636C2 #C2364C #92C236 #36C2AC
square
#6636C2 #C2364C #92C236 #36C2AC
split-complementary
#6636C2 #C2AC36 #4CC236
monochromatic
#341B62 #4D2992 #6636C2 #8962D3 #AD92E1

Accessibility & contrast

On white

7.31
#6636C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6636C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6636C2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6636C2#FFFFFF#000000##FFFFFF
##6636C21.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#495B79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6636c2;
/* rgb */ color: rgb(102, 54, 194);
/* oklch */ color: oklch(47.7% 0.203 292.7);
Tailwind
colors: {
  custom: {
    50: '#9a71d5',
    500: '#6636c2',
    950: '#000000',
  },
}
SCSS
$custom: #6636c2;
$custom-light: #9a71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6636c2",
  "rgb": {
    "r": 102,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 260.571,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.20349,
    "h": 292.7
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#6636C2
secondary
#B4CC88
accent
#E048AC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6636C2

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

Preview Lab → · Contrast checker → · Palette generator →

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