#6633B8#6633B8

#6633B8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.196 H 295.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6633B8
RGBrgb(102, 51, 184)
HSLhsl(263, 57%, 46%)
HSVhsv(263, 72%, 72%)
CMYKcmyk(44.6%, 72.3%, 0%, 27.8%)
CIE-LABlab(35.31, 50.92, -61.83)
CIE-LCHlch(35.31, 80.10, 309.47°)
OKLaboklab(46.5% 0.0832 -0.177)
OKLCHoklch(46.5% 0.196 295.2)
XYZxyz(15.3127, 8.6527, 46.2015)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6633B8 #85B833
analogous
#3342B8 #6633B8 #A833B8
triadic
#6633B8 #B86633 #33B866
tetradic
#6633B8 #B83342 #85B833 #33B8A8
square
#6633B8 #B83342 #85B833 #33B8A8
split-complementary
#6633B8 #B8A833 #42B833
monochromatic
#311858 #4B2688 #6633B8 #8658D1 #A988DE

Accessibility & contrast

On white

7.69
#6633B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6633B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6633B8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6633B8#FFFFFF#000000##FFFFFF
##6633B81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#4F5572
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6633b8;
/* rgb */ color: rgb(102, 51, 184);
/* oklch */ color: oklch(46.5% 0.196 295.2);
Tailwind
colors: {
  custom: {
    50: '#996fce',
    500: '#6633b8',
    950: '#000000',
  },
}
SCSS
$custom: #6633b8;
$custom-light: #996fce;
$custom-dark: #000000;
JSON
{
  "hex": "#6633b8",
  "rgb": {
    "r": 102,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 263.008,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.19561,
    "h": 295.2
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#6633B8
secondary
#ACC87F
accent
#E048A6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6633B8

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

Preview Lab → · Contrast checker → · Palette generator →

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