#6637D2#6637D2

#6637D2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.220 H 289.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6637D2
RGBrgb(102, 55, 210)
HSLhsl(258, 63%, 52%)
HSVhsv(258, 74%, 82%)
CMYKcmyk(51.4%, 73.8%, 0%, 17.6%)
CIE-LABlab(38.22, 55.95, -72.26)
CIE-LCHlch(38.22, 91.39, 307.75°)
OKLaboklab(49.24% 0.0739 -0.2076)
OKLCHoklch(49.24% 0.22 289.6)
XYZxyz(18.4752, 10.2095, 61.9574)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6637D2 #A3D237
analogous
#3755D2 #6637D2 #B437D2
triadic
#6637D2 #D26637 #37D266
tetradic
#6637D2 #D23755 #A3D237 #37D2B4
square
#6637D2 #D23755 #A3D237 #37D2B4
split-complementary
#6637D2 #D2B437 #55D237
monochromatic
#361A74 #4D25A6 #6637D2 #8C69DD #B29BE8

Accessibility & contrast

On white

6.90
#6637D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6637D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6637D2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6637D2#FFFFFF#000000##FFFFFF
##6637D21.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#3E6182
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6637d2;
/* rgb */ color: rgb(102, 55, 210);
/* oklch */ color: oklch(49.2% 0.220 289.6);
Tailwind
colors: {
  custom: {
    50: '#9c73e1',
    500: '#6637d2',
    950: '#000000',
  },
}
SCSS
$custom: #6637d2;
$custom-light: #9c73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6637d2",
  "rgb": {
    "r": 102,
    "g": 55,
    "b": 210
  },
  "hsl": {
    "h": 258.194,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.22038,
    "h": 289.6
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#6637D2
secondary
#C0D490
accent
#E641B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6637D2

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

Preview Lab → · Contrast checker → · Palette generator →

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