#6633B5#6633B5

#6633B5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.192 H 295.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6633B5
RGBrgb(102, 51, 181)
HSLhsl(264, 56%, 45%)
HSVhsv(264, 72%, 71%)
CMYKcmyk(43.6%, 71.8%, 0%, 29%)
CIE-LABlab(35.06, 50.13, -60.46)
CIE-LCHlch(35.06, 78.53, 309.66°)
OKLaboklab(46.25% 0.0839 -0.173)
OKLCHoklch(46.25% 0.192 295.9)
XYZxyz(15.0016, 8.5283, 44.5628)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6633B5 #82B533
analogous
#3341B5 #6633B5 #A733B5
triadic
#6633B5 #B56633 #33B566
tetradic
#6633B5 #B53341 #82B533 #33B5A7
square
#6633B5 #B53341 #82B533 #33B5A7
split-complementary
#6633B5 #B5A733 #41B533
monochromatic
#301856 #4B2685 #6633B5 #8656CF #A886DD

Accessibility & contrast

On white

7.76
#6633B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6633B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6633B5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6633B5#FFFFFF#000000##FFFFFF
##6633B51.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#515471
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6633b5;
/* rgb */ color: rgb(102, 51, 181);
/* oklch */ color: oklch(46.2% 0.192 295.9);
Tailwind
colors: {
  custom: {
    50: '#996fcc',
    500: '#6633b5',
    950: '#000000',
  },
}
SCSS
$custom: #6633b5;
$custom-light: #996fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6633b5",
  "rgb": {
    "r": 102,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 263.538,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.19224,
    "h": 295.9
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#6633B5
secondary
#AAC67D
accent
#DF48A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6633B5

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

Preview Lab → · Contrast checker → · Palette generator →

#6633B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva