#6636B4#6636B4

#6636B4 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.188 H 295.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6636B4
RGBrgb(102, 54, 180)
HSLhsl(263, 54%, 46%)
HSVhsv(263, 70%, 71%)
CMYKcmyk(43.3%, 70%, 0%, 29.4%)
CIE-LABlab(35.51, 48.37, -59.12)
CIE-LCHlch(35.51, 76.39, 309.28°)
OKLaboklab(46.54% 0.0811 -0.1691)
OKLCHoklch(46.54% 0.188 295.6)
XYZxyz(15.0347, 8.7581, 44.0695)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6636B4 #84B436
analogous
#3645B4 #6636B4 #A536B4
triadic
#6636B4 #B46636 #36B466
tetradic
#6636B4 #B43645 #84B436 #36B4A5
square
#6636B4 #B43645 #84B436 #36B4A5
split-complementary
#6636B4 #B4A536 #45B436
monochromatic
#311A56 #4B2885 #6636B4 #865ACD #A889DC

Accessibility & contrast

On white

7.63
#6636B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6636B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6636B4
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6636B4#FFFFFF#000000##FFFFFF
##6636B41.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#515571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6636b4;
/* rgb */ color: rgb(102, 54, 180);
/* oklch */ color: oklch(46.5% 0.188 295.6);
Tailwind
colors: {
  custom: {
    50: '#9871cb',
    500: '#6636b4',
    950: '#000000',
  },
}
SCSS
$custom: #6636b4;
$custom-light: #9871cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6636b4",
  "rgb": {
    "r": 102,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 262.857,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46543,
    "c": 0.18754,
    "h": 295.6
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#6636B4
secondary
#ABC680
accent
#DD4BA5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6636B4

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

Preview Lab → · Contrast checker → · Palette generator →

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