#6637C4#6637C4

#6637C4 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.205 H 292.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6637C4
RGBrgb(102, 55, 196)
HSLhsl(260, 56%, 49%)
HSVhsv(260, 72%, 77%)
CMYKcmyk(48%, 71.9%, 0%, 23.1%)
CIE-LABlab(37.01, 52.16, -66.10)
CIE-LCHlch(37.01, 84.20, 308.28°)
OKLaboklab(48.01% 0.0771 -0.1896)
OKLCHoklch(48.01% 0.205 292.1)
XYZxyz(16.8067, 9.5421, 53.1701)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6637C4 #95C437
analogous
#374FC4 #6637C4 #AD37C4
triadic
#6637C4 #C46637 #37C466
tetradic
#6637C4 #C4374F #95C437 #37C4AD
square
#6637C4 #C4374F #95C437 #37C4AD
split-complementary
#6637C4 #C4AD37 #4FC437
monochromatic
#341C64 #4D2A94 #6637C4 #8A65D4 #AE94E1

Accessibility & contrast

On white

7.22
#6637C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6637C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6637C4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6637C4#FFFFFF#000000##FFFFFF
##6637C41.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#485C7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6637c4;
/* rgb */ color: rgb(102, 55, 196);
/* oklch */ color: oklch(48.0% 0.205 292.1);
Tailwind
colors: {
  custom: {
    50: '#9a72d7',
    500: '#6637c4',
    950: '#000000',
  },
}
SCSS
$custom: #6637c4;
$custom-light: #9a72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6637c4",
  "rgb": {
    "r": 102,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 260,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48012,
    "c": 0.20465,
    "h": 292.1
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#6637C4
secondary
#B6CC8B
accent
#DF48AD
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6637C4

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

Preview Lab → · Contrast checker → · Palette generator →

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