#6636B2#6636B2

#6636B2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.185 H 296.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6636B2
RGBrgb(102, 54, 178)
HSLhsl(263, 53%, 45%)
HSVhsv(263, 70%, 70%)
CMYKcmyk(42.7%, 69.7%, 0%, 30.2%)
CIE-LABlab(35.35, 47.83, -58.20)
CIE-LCHlch(35.35, 75.33, 309.42°)
OKLaboklab(46.38% 0.0815 -0.1664)
OKLCHoklch(46.38% 0.185 296.1)
XYZxyz(14.8324, 8.6771, 43.0042)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6636B2 #82B236
analogous
#3644B2 #6636B2 #A436B2
triadic
#6636B2 #B26636 #36B266
tetradic
#6636B2 #B23644 #82B236 #36B2A4
square
#6636B2 #B23644 #82B236 #36B2A4
split-complementary
#6636B2 #B2A436 #44B236
monochromatic
#301A54 #4B2883 #6636B2 #8659CD #A888DB

Accessibility & contrast

On white

7.68
#6636B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6636B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6636B2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6636B2#FFFFFF#000000##FFFFFF
##6636B21.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#525470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6636b2;
/* rgb */ color: rgb(102, 54, 178);
/* oklch */ color: oklch(46.4% 0.185 296.1);
Tailwind
colors: {
  custom: {
    50: '#9871ca',
    500: '#6636b2',
    950: '#000000',
  },
}
SCSS
$custom: #6636b2;
$custom-light: #9871ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6636b2",
  "rgb": {
    "r": 102,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 263.226,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.18524,
    "h": 296.1
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#6636B2
secondary
#AAC57F
accent
#DD4BA4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6636B2

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

Preview Lab → · Contrast checker → · Palette generator →

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