#6637C2#6637C2

#6637C2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.8% C 0.202 H 292.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6637C2
RGBrgb(102, 55, 194)
HSLhsl(260, 56%, 49%)
HSVhsv(260, 72%, 76%)
CMYKcmyk(47.4%, 71.6%, 0%, 23.9%)
CIE-LABlab(36.84, 51.62, -65.21)
CIE-LCHlch(36.84, 83.17, 308.37°)
OKLaboklab(47.84% 0.0775 -0.1869)
OKLCHoklch(47.84% 0.202 292.5)
XYZxyz(16.5806, 9.4516, 51.9792)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6637C2 #93C237
analogous
#374EC2 #6637C2 #AC37C2
triadic
#6637C2 #C26637 #37C266
tetradic
#6637C2 #C2374E #93C237 #37C2AC
square
#6637C2 #C2374E #93C237 #37C2AC
split-complementary
#6637C2 #C2AC37 #4EC237
monochromatic
#341C63 #4D2992 #6637C2 #8963D3 #AD93E0

Accessibility & contrast

On white

7.27
#6637C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6637C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6637C2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6637C2#FFFFFF#000000##FFFFFF
##6637C21.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6637c2;
/* rgb */ color: rgb(102, 55, 194);
/* oklch */ color: oklch(47.8% 0.202 292.5);
Tailwind
colors: {
  custom: {
    50: '#9a72d5',
    500: '#6637c2',
    950: '#000000',
  },
}
SCSS
$custom: #6637c2;
$custom-light: #9a72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6637c2",
  "rgb": {
    "r": 102,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 260.288,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47841,
    "c": 0.20237,
    "h": 292.5
  },
  "luminance": 0.09452
}

Semantic roles & 50–950 ramp

primary
#6637C2
secondary
#B5CB89
accent
#DF49AC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6637C2

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

Preview Lab → · Contrast checker → · Palette generator →

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