#6636D9#6636D9

#6636D9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.229 H 288.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6636D9
RGBrgb(102, 54, 217)
HSLhsl(258, 68%, 53%)
HSVhsv(258, 75%, 85%)
CMYKcmyk(53%, 75.1%, 0%, 14.9%)
CIE-LABlab(38.68, 58.31, -75.53)
CIE-LCHlch(38.68, 95.42, 307.67°)
OKLaboklab(49.75% 0.0729 -0.2172)
OKLCHoklch(49.75% 0.229 288.5)
XYZxyz(19.3194, 10.4719, 66.6355)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6636D9 #A9D936
analogous
#3657D9 #6636D9 #B836D9
triadic
#6636D9 #D96636 #36D966
tetradic
#6636D9 #D93657 #A9D936 #36D9B8
square
#6636D9 #D93657 #A9D936 #36D9B8
split-complementary
#6636D9 #D9B836 #57D936
monochromatic
#35187D #4B21B0 #6636D9 #8D69E3 #B49DEC

Accessibility & contrast

On white

6.79
#6636D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6636D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6636D9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6636D9#FFFFFF#000000##FFFFFF
##6636D91.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#386486
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6636d9;
/* rgb */ color: rgb(102, 54, 217);
/* oklch */ color: oklch(49.8% 0.229 288.5);
Tailwind
colors: {
  custom: {
    50: '#9d72e6',
    500: '#6636d9',
    950: '#000000',
  },
}
SCSS
$custom: #6636d9;
$custom-light: #9d72e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6636d9",
  "rgb": {
    "r": 102,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 257.669,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.22911,
    "h": 288.5
  },
  "luminance": 0.10473
}

Semantic roles & 50–950 ramp

primary
#6636D9
secondary
#C4D992
accent
#EB3DB8
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6636D9

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

Preview Lab → · Contrast checker → · Palette generator →

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