#6631BB#6631BB

#6631BB is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.201 H 294.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#6631BB
RGBrgb(102, 49, 187)
HSLhsl(263, 58%, 46%)
HSVhsv(263, 74%, 73%)
CMYKcmyk(45.5%, 73.8%, 0%, 26.7%)
CIE-LABlab(35.22, 52.66, -63.74)
CIE-LCHlch(35.22, 82.68, 309.56°)
OKLaboklab(46.51% 0.0844 -0.1826)
OKLCHoklch(46.51% 0.201 294.8)
XYZxyz(15.5450, 8.6088, 47.8467)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6631BB #86BB31
analogous
#3141BB #6631BB #AB31BB
triadic
#6631BB #BB6631 #31BB66
tetradic
#6631BB #BB3141 #86BB31 #31BBAB
square
#6631BB #BB3141 #86BB31 #31BBAB
split-complementary
#6631BB #BBAB31 #41BB31
monochromatic
#31185A #4C248B #6631BB #8656D3 #A987E0

Accessibility & contrast

On white

7.72
#6631BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6631BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6631BB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6631BB#FFFFFF#000000##FFFFFF
##6631BB1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#4E5573
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6631bb;
/* rgb */ color: rgb(102, 49, 187);
/* oklch */ color: oklch(46.5% 0.201 294.8);
Tailwind
colors: {
  custom: {
    50: '#996ed0',
    500: '#6631bb',
    950: '#000000',
  },
}
SCSS
$custom: #6631bb;
$custom-light: #996ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6631bb",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 263.043,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.20117,
    "h": 294.8
  },
  "luminance": 0.08609
}

Semantic roles & 50–950 ramp

primary
#6631BB
secondary
#ADC97F
accent
#E246A6
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6631BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6631BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva