#6636CD#6636CD

#6636CD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.216 H 290.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6636CD
RGBrgb(102, 54, 205)
HSLhsl(259, 60%, 51%)
HSVhsv(259, 74%, 80%)
CMYKcmyk(50.2%, 73.7%, 0%, 19.6%)
CIE-LABlab(37.61, 55.07, -70.36)
CIE-LCHlch(37.61, 89.35, 308.05°)
OKLaboklab(48.67% 0.0759 -0.2021)
OKLCHoklch(48.67% 0.216 290.6)
XYZxyz(17.8149, 9.8702, 58.7122)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6636CD #9DCD36
analogous
#3651CD #6636CD #B136CD
triadic
#6636CD #CD6636 #36CD66
tetradic
#6636CD #CD3651 #9DCD36 #36CDB1
square
#6636CD #CD3651 #9DCD36 #36CDB1
split-complementary
#6636CD #CDB136 #51CD36
monochromatic
#351B6D #4D279E #6636CD #8B67D9 #B198E5

Accessibility & contrast

On white

7.06
#6636CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6636CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6636CD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6636CD#FFFFFF#000000##FFFFFF
##6636CD1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#425F7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6636cd;
/* rgb */ color: rgb(102, 54, 205);
/* oklch */ color: oklch(48.7% 0.216 290.6);
Tailwind
colors: {
  custom: {
    50: '#9b72dd',
    500: '#6636cd',
    950: '#000000',
  },
}
SCSS
$custom: #6636cd;
$custom-light: #9b72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6636cd",
  "rgb": {
    "r": 102,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 259.073,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.21583,
    "h": 290.6
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

primary
#6636CD
secondary
#BCD18E
accent
#E344B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6636CD

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

Preview Lab → · Contrast checker → · Palette generator →

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